unittest.TestCase.assertEqual()

assertEqual(first, second, msg=None) Test that first and second are equal. If the values do not compare equal, the test will fail. In addition, if first and second are the exact same type and one of list, tuple, dict, set, frozenset or str or any type that a subclass registers with addTypeEqualityFunc() the type-specific equality function will be called in order to generate a more useful default error message (see also the list of type-specific methods). Changed in version 3.1: Added the au

pathlib.PurePath.suffix

PurePath.suffix The file extension of the final component, if any: >>> PurePosixPath('my/library/setup.py').suffix '.py' >>> PurePosixPath('my/library.tar.gz').suffix '.gz' >>> PurePosixPath('my/library').suffix ''

tkinter.tix.InputOnly

class tkinter.tix.InputOnly The InputOnly widgets are to accept inputs from the user, which can be done with the bind command (Unix only).

ftplib.FTP.set_pasv()

FTP.set_pasv(boolean) Enable “passive” mode if boolean is true, other disable passive mode. Passive mode is on by default.

asyncio.asyncio.subprocess.Process.kill()

kill() Kills the child. On Posix OSs the function sends SIGKILL to the child. On Windows kill() is an alias for terminate().

urllib.parse.SplitResultBytes

class urllib.parse.SplitResultBytes(scheme, netloc, path, query, fragment) Concrete class for urlsplit() results containing bytes data. The decode() method returns a SplitResult instance. New in version 3.2.

ssl.SSLError.library

library A string mnemonic designating the OpenSSL submodule in which the error occurred, such as SSL, PEM or X509. The range of possible values depends on the OpenSSL version. New in version 3.3.

bytearray.partition()

bytearray.partition(sep) Split the sequence at the first occurrence of sep, and return a 3-tuple containing the part before the separator, the separator, and the part after the separator. If the separator is not found, return a 3-tuple containing a copy of the original sequence, followed by two empty bytes or bytearray objects. The separator to search for may be any bytes-like object.

multiprocessing.BoundedSemaphore

class multiprocessing.BoundedSemaphore([value]) A bounded semaphore object: a close analog of threading.BoundedSemaphore. A solitary difference from its close analog exists: its acquire method’s first argument is named block, as is consistent with Lock.acquire(). Note On Mac OS X, this is indistinguishable from Semaphore because sem_getvalue() is not implemented on that platform.

unicodedata.east_asian_width()

unicodedata.east_asian_width(chr) Returns the east asian width assigned to the character chr as string.