dbm.ndbm.library

dbm.ndbm.library Name of the ndbm implementation library used.

cgi.parse()

cgi.parse(fp=None, environ=os.environ, keep_blank_values=False, strict_parsing=False) Parse a query in the environment or from a file (the file defaults to sys.stdin). The keep_blank_values and strict_parsing parameters are passed to urllib.parse.parse_qs() unchanged.

mimetypes.guess_all_extensions()

mimetypes.guess_all_extensions(type, strict=True) Guess the extensions for a file based on its MIME type, given by type. The return value is a list of strings giving all possible filename extensions, including the leading dot ('.'). The extensions are not guaranteed to have been associated with any particular data stream, but would be mapped to the MIME type type by guess_type(). The optional strict argument has the same meaning as with the guess_type() function.

gettext.NullTranslations.add_fallback()

add_fallback(fallback) Add fallback as the fallback object for the current translation object. A translation object should consult the fallback if it cannot provide a translation for a given message.

socket.gethostbyname_ex()

socket.gethostbyname_ex(hostname) Translate a host name to IPv4 address format, extended interface. Return a triple (hostname, aliaslist, ipaddrlist) where hostname is the primary host name responding to the given ip_address, aliaslist is a (possibly empty) list of alternative host names for the same address, and ipaddrlist is a list of IPv4 addresses for the same interface on the same host (often but not always a single address). gethostbyname_ex() does not support IPv6 name resolution, and

collections.deque.maxlen

maxlen Maximum size of a deque or None if unbounded. New in version 3.1.

xdrlib.Unpacker.reset()

Unpacker.reset(data) Resets the string buffer with the given data.

logging.handlers.WatchedFileHandler

class logging.handlers.WatchedFileHandler(filename, mode='a', encoding=None, delay=False) Returns a new instance of the WatchedFileHandler class. The specified file is opened and used as the stream for logging. If mode is not specified, 'a' is used. If encoding is not None, it is used to open the file with that encoding. If delay is true, then file opening is deferred until the first call to emit(). By default, the file grows indefinitely. emit(record) Outputs the record to the file, but

decimal.Decimal.ln()

ln(context=None) Return the natural (base e) logarithm of the operand. The result is correctly rounded using the ROUND_HALF_EVEN rounding mode.

msilib.Directory.remove_pyc()

remove_pyc() Remove .pyc/.pyo files on uninstall.