zipfile.is_zipfile()

zipfile.is_zipfile(filename) Returns True if filename is a valid ZIP file based on its magic number, otherwise returns False. filename may be a file or file-like object too. Changed in version 3.1: Support for file and file-like objects.

True

True The true value of the bool type. Assignments to True are illegal and raise a SyntaxError.

GeneratorExit

exception GeneratorExit Raised when a generator or coroutine is closed; see generator.close() and coroutine.close(). It directly inherits from BaseException instead of Exception since it is technically not an error.

mailbox.MH.list_folders()

list_folders() Return a list of the names of all folders.

socket.socket.recvfrom_into()

socket.recvfrom_into(buffer[, nbytes[, flags]]) Receive data from the socket, writing it into buffer instead of creating a new bytestring. The return value is a pair (nbytes, address) where nbytes is the number of bytes received and address is the address of the socket sending the data. See the Unix manual page recv(2) for the meaning of the optional argument flags; it defaults to zero. (The format of address depends on the address family — see above.)

multiprocessing.Process.sentinel

sentinel A numeric handle of a system object which will become “ready” when the process ends. You can use this value if you want to wait on several events at once using multiprocessing.connection.wait(). Otherwise calling join() is simpler. On Windows, this is an OS handle usable with the WaitForSingleObject and WaitForMultipleObjects family of API calls. On Unix, this is a file descriptor usable with primitives from the select module. New in version 3.3.

unittest.TestResult.skipped

skipped A list containing 2-tuples of TestCase instances and strings holding the reason for skipping the test. New in version 3.1.

multiprocessing.pool.AsyncResult.wait()

wait([timeout]) Wait until the result is available or until timeout seconds pass.

textwrap.TextWrapper.drop_whitespace

drop_whitespace (default: True) If true, whitespace at the beginning and ending of every line (after wrapping but before indenting) is dropped. Whitespace at the beginning of the paragraph, however, is not dropped if non-whitespace follows it. If whitespace being dropped takes up an entire line, the whole line is dropped.

warnings.simplefilter()

warnings.simplefilter(action, category=Warning, lineno=0, append=False) Insert a simple entry into the list of warnings filter specifications. The meaning of the function parameters is as for filterwarnings(), but regular expressions are not needed as the filter inserted always matches any message in any module as long as the category and line number match.