operator.__index__()

operator.__index__(a) Return a converted to an integer. Equivalent to a.__index__().

test.support.temp_dir()

test.support.temp_dir(path=None, quiet=False) A context manager that creates a temporary directory at path and yields the directory. If path is None, the temporary directory is created using tempfile.mkdtemp(). If quiet is False, the context manager raises an exception on error. Otherwise, if path is specified and cannot be created, only a warning is issued.

sys.maxunicode

sys.maxunicode An integer giving the value of the largest Unicode code point, i.e. 1114111 (0x10FFFF in hexadecimal). Changed in version 3.3: Before PEP 393, sys.maxunicode used to be either 0xFFFF or 0x10FFFF, depending on the configuration option that specified whether Unicode characters were stored as UCS-2 or UCS-4.

email.message_from_file()

email.message_from_file(fp, _class=email.message.Message, *, policy=policy.compat32) Return a message object structure tree from an open file object. This is exactly equivalent to Parser().parse(fp). _class and policy are interpreted as with the Parser class constructor. Changed in version 3.3: Removed the strict argument. Added the policy keyword.

shutil.unpack_archive()

shutil.unpack_archive(filename[, extract_dir[, format]]) Unpack an archive. filename is the full path of the archive. extract_dir is the name of the target directory where the archive is unpacked. If not provided, the current working directory is used. format is the archive format: one of “zip”, “tar”, or “gztar”. Or any other format registered with register_unpack_format(). If not provided, unpack_archive() will use the archive file name extension and see if an unpacker was registered for t

xml.parsers.expat.xmlparser.EndCdataSectionHandler()

xmlparser.EndCdataSectionHandler() Called at the end of a CDATA section.

zipimport.ZipImportError

exception zipimport.ZipImportError Exception raised by zipimporter objects. It’s a subclass of ImportError, so it can be caught as ImportError, too.

os.path.exists()

os.path.exists(path) Return True if path refers to an existing path or an open file descriptor. Returns False for broken symbolic links. On some platforms, this function may return False if permission is not granted to execute os.stat() on the requested file, even if the path physically exists. Changed in version 3.3: path can now be an integer: True is returned if it is an open file descriptor, False otherwise.

decimal.Context.sqrt()

sqrt(x) Square root of a non-negative number to context precision.

curses.window.insnstr()

window.insnstr(str, n[, attr]) window.insnstr(y, x, str, n[, attr]) Insert a character string (as many characters as will fit on the line) before the character under the cursor, up to n characters. If n is zero or negative, the entire string is inserted. All characters to the right of the cursor are shifted right, with the rightmost characters on the line being lost. The cursor position does not change (after moving to y, x, if specified).