logging.handlers.NTEventLogHandler.emit()

emit(record) Determines the message ID, event category and event type, and then logs the message in the NT event log.

socket.sethostname()

socket.sethostname(name) Set the machine’s hostname to name. This will raise an OSError if you don’t have enough rights. Availability: Unix. New in version 3.3.

email.headerregistry.HeaderRegistry.map_to_type()

map_to_type(self, name, cls) name is the name of the header to be mapped. It will be converted to lower case in the registry. cls is the specialized class to be used, along with base_class, to create the class used to instantiate headers that match name.

tracemalloc.get_object_traceback()

tracemalloc.get_object_traceback(obj) Get the traceback where the Python object obj was allocated. Return a Traceback instance, or None if the tracemalloc module is not tracing memory allocations or did not trace the allocation of the object. See also gc.get_referrers() and sys.getsizeof() functions.

bytearray.index()

bytearray.index(sub[, start[, end]]) Like find(), but raise ValueError when the subsequence is not found. The subsequence to search for may be any bytes-like object or an integer in the range 0 to 255. Changed in version 3.3: Also accept an integer in the range 0 to 255 as the subsequence.

doctest.DocTestFailure.example

DocTestFailure.example The Example that failed.

pickletools.genops()

pickletools.genops(pickle) Provides an iterator over all of the opcodes in a pickle, returning a sequence of (opcode, arg, pos) triples. opcode is an instance of an OpcodeInfo class; arg is the decoded value, as a Python object, of the opcode’s argument; pos is the position at which this opcode is located. pickle can be a string or a file-like object.

os.path.ismount()

os.path.ismount(path) Return True if pathname path is a mount point: a point in a file system where a different file system has been mounted. On POSIX, the function checks whether path‘s parent, path/.., is on a different device than path, or whether path/.. and path point to the same i-node on the same device — this should detect mount points for all Unix and POSIX variants. On Windows, a drive letter root and a share UNC are always mount points, and for any other path GetVolumePathName is

sqlite3.sqlite_version

sqlite3.sqlite_version The version number of the run-time SQLite library, as a string.

lzma.LZMADecompressor.needs_input

needs_input False if the decompress() method can provide more decompressed data before requiring new uncompressed input. New in version 3.5.