ipaddress.IPv6Address.is_private

is_private

test.support.temp_cwd()

test.support.temp_cwd(name='tempcwd', quiet=False) A context manager that temporarily creates a new directory and changes the current working directory (CWD). The context manager creates a temporary directory in the current directory with name name before temporarily changing the current working directory. If name is None, the temporary directory is created using tempfile.mkdtemp(). If quiet is False and it is not possible to create or change the CWD, an error is raised. Otherwise, only a wa

re.match.end()

match.end([group]) Return the indices of the start and end of the substring matched by group; group defaults to zero (meaning the whole matched substring). Return -1 if group exists but did not contribute to the match. For a match object m, and a group g that did contribute to the match, the substring matched by group g (equivalent to m.group(g)) is m.string[m.start(g):m.end(g)] Note that m.start(group) will equal m.end(group) if group matched a null string. For example, after m = re.search

io.BufferedReader.read()

read([size]) Read and return size bytes, or if size is not given or negative, until EOF or if the read call would block in non-blocking mode.

math.e

math.e The mathematical constant e = 2.718281..., to available precision.

msilib.OpenDatabase()

msilib.OpenDatabase(path, persist) Return a new database object by calling MsiOpenDatabase. path is the file name of the MSI file; persist can be one of the constants MSIDBOPEN_CREATEDIRECT, MSIDBOPEN_CREATE, MSIDBOPEN_DIRECT, MSIDBOPEN_READONLY, or MSIDBOPEN_TRANSACT, and may include the flag MSIDBOPEN_PATCHFILE. See the Microsoft documentation for the meaning of these flags; depending on the flags, an existing database is opened, or a new one created.

urllib.request.urlcleanup()

urllib.request.urlcleanup() Cleans up temporary files that may have been left behind by previous calls to urlretrieve().

subprocess.call()

subprocess.call(args, *, stdin=None, stdout=None, stderr=None, shell=False, timeout=None) Run the command described by args. Wait for command to complete, then return the returncode attribute. This is equivalent to: run(...).returncode (except that the input and check parameters are not supported) The arguments shown above are merely the most common ones. The full function signature is largely the same as that of the Popen constructor - this function passes all supplied arguments other than

decimal.Context.remainder()

remainder(x, y) Returns the remainder from integer division. The sign of the result, if non-zero, is the same as that of the original dividend.

linecache.lazycache()

linecache.lazycache(filename, module_globals) Capture enough detail about a non-file-based module to permit getting its lines later via getline() even if module_globals is None in the later call. This avoids doing I/O until a line is actually needed, without having to carry the module globals around indefinitely. New in version 3.5.