tracemalloc.Snapshot.traceback_limit

traceback_limit Maximum number of frames stored in the traceback of traces: result of the get_traceback_limit() when the snapshot was taken.

tarfile.TarFile.close()

TarFile.close() Close the TarFile. In write mode, two finishing zero blocks are appended to the archive.

datetime.timedelta.total_seconds()

timedelta.total_seconds() Return the total number of seconds contained in the duration. Equivalent to td / timedelta(seconds=1). Note that for very large time intervals (greater than 270 years on most platforms) this method will lose microsecond accuracy. New in version 3.2.

xml.parsers.expat.ErrorString()

xml.parsers.expat.ErrorString(errno) Returns an explanatory string for a given error number errno.

sys.__interactivehook__

sys.__interactivehook__ When this attribute exists, its value is automatically called (with no arguments) when the interpreter is launched in interactive mode. This is done after the PYTHONSTARTUP file is read, so that you can set this hook there. The site module sets this. New in version 3.4.

enum.IntEnum

class enum.IntEnum Base class for creating enumerated constants that are also subclasses of int.

multiprocessing.Barrier

class multiprocessing.Barrier(parties[, action[, timeout]]) A barrier object: a clone of threading.Barrier. New in version 3.3.

mailbox.mbox.lock()

lock() unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf() system calls.

doctest.Example.want

want The expected output from running the example’s source code (either from stdout, or a traceback in case of exception). want ends with a newline unless no output is expected, in which case it’s an empty string. The constructor adds a newline when necessary.

email.charset.Charset.input_codec

input_codec The name of the Python codec used to convert the input_charset to Unicode. If no conversion codec is necessary, this attribute will be None.