termios.tcgetattr()

termios.tcgetattr(fd) Return a list containing the tty attributes for file descriptor fd, as follows: [iflag, oflag, cflag, lflag, ispeed, ospeed, cc] where cc is a list of the tty special characters (each a string of length 1, except the items with indices VMIN and VTIME, which are integers when these fields are defined). The interpretation of the flags and the speeds as well as the indexing in the cc array must be done using the symbolic constants defined in the termios module.

xml.parsers.expat.xmlparser.ErrorColumnNumber

xmlparser.ErrorColumnNumber Column number at which an error occurred.

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.