operator.__getitem__()

operator.__getitem__(a, b) Return the value of a at index b.

socket.socket.fileno()

socket.fileno() Return the socket’s file descriptor (a small integer), or -1 on failure. This is useful with select.select(). Under Windows the small integer returned by this method cannot be used where a file descriptor can be used (such as os.fdopen()). Unix does not have this limitation.

collections.ChainMap.maps

maps A user updateable list of mappings. The list is ordered from first-searched to last-searched. It is the only stored state and can be modified to change which mappings are searched. The list should always contain at least one mapping.

marshal.dump()

marshal.dump(value, file[, version]) Write the value on the open file. The value must be a supported type. The file must be an open file object such as sys.stdout or returned by open() or os.popen(). It must be opened in binary mode ('wb' or 'w+b'). If the value has (or contains an object that has) an unsupported type, a ValueError exception is raised — but garbage data will also be written to the file. The object will not be properly read back by load(). The version argument indicates the d

sndhdr.what()

sndhdr.what(filename) Determines the type of sound data stored in the file filename using whathdr(). If it succeeds, returns a namedtuple as described above, otherwise None is returned. Changed in version 3.5: Result changed from a tuple to a namedtuple.

curses.resetty()

curses.resetty() Restore the state of the terminal modes to what it was at the last call to savetty().

xml.etree.ElementTree.ElementTree.find()

find(match, namespaces=None) Same as Element.find(), starting at the root of the tree.

readline.write_history_file()

readline.write_history_file([filename]) Save the history list to a readline history file, overwriting any existing file. The default filename is ~/.history. This calls write_history() in the underlying library.

typing.MappingView

class typing.MappingView(Sized, Iterable[T_co]) A generic version of collections.abc.MappingView.

os.unsetenv()

os.unsetenv(key) Unset (delete) the environment variable named key. Such changes to the environment affect subprocesses started with os.system(), popen() or fork() and execv(). When unsetenv() is supported, deletion of items in os.environ is automatically translated into a corresponding call to unsetenv(); however, calls to unsetenv() don’t update os.environ, so it is actually preferable to delete items of os.environ. Availability: most flavors of Unix, Windows.