os.lseek()

os.lseek(fd, pos, how) Set the current position of file descriptor fd to position pos, modified by how: SEEK_SET or 0 to set the position relative to the beginning of the file; SEEK_CUR or 1 to set it relative to the current position; SEEK_END or 2 to set it relative to the end of the file. Return the new cursor position in bytes, starting from the beginning.

pstats.Stats.print_callees()

print_callees(*restrictions) This method for the Stats class prints a list of all function that were called by the indicated function. Aside from this reversal of direction of calls (re: called vs was called by), the arguments and ordering are identical to the print_callers() method.

ipaddress.IPv4Network.hostmask

hostmask The host mask, as a string.

tarfile.TarInfo.type

TarInfo.type File type. type is usually one of these constants: REGTYPE, AREGTYPE, LNKTYPE, SYMTYPE, DIRTYPE, FIFOTYPE, CONTTYPE, CHRTYPE, BLKTYPE, GNUTYPE_SPARSE. To determine the type of a TarInfo object more conveniently, use the is*() methods below.

telnetlib.Telnet

class telnetlib.Telnet(host=None, port=0[, timeout]) Telnet represents a connection to a Telnet server. The instance is initially not connected by default; the open() method must be used to establish a connection. Alternatively, the host name and optional port number can be passed to the constructor too, in which case the connection to the server will be established before the constructor returns. The optional timeout parameter specifies a timeout in seconds for blocking operations like the

importlib.machinery.SourceFileLoader.path_stats()

path_stats(path) Concrete implementation of importlib.abc.SourceLoader.path_stats().

xml.sax.SAXException

exception xml.sax.SAXException(msg, exception=None) Encapsulate an XML error or warning. This class can contain basic error or warning information from either the XML parser or the application: it can be subclassed to provide additional functionality or to add localization. Note that although the handlers defined in the ErrorHandler interface receive instances of this exception, it is not required to actually raise the exception — it is also useful as a container for information. When instan

platform.linux_distribution()

platform.linux_distribution(distname='', version='', id='', supported_dists=('SuSE', 'debian', 'redhat', 'mandrake', ...), full_distribution_name=1) Tries to determine the name of the Linux OS distribution name. supported_dists may be given to define the set of Linux distributions to look for. It defaults to a list of currently supported Linux distributions identified by their release file name. If full_distribution_name is true (default), the full distribution read from the OS is returned.

decimal.Context.multiply()

multiply(x, y) Return the product of x and y.

logging.handlers.MemoryHandler

class logging.handlers.MemoryHandler(capacity, flushLevel=ERROR, target=None) Returns a new instance of the MemoryHandler class. The instance is initialized with a buffer size of capacity. If flushLevel is not specified, ERROR is used. If no target is specified, the target will need to be set using setTarget() before this handler does anything useful. close() Calls flush(), sets the target to None and clears the buffer. flush() For a MemoryHandler, flushing means just sending the bu