pdb.runeval()

pdb.runeval(expression, globals=None, locals=None) Evaluate the expression (given as a string or a code object) under debugger control. When runeval() returns, it returns the value of the expression. Otherwise this function is similar to run().

msilib.Record.GetString()

Record.GetString(field) Return the value of field as a string where possible. field must be an integer.

smtplib.SMTPDataError

exception smtplib.SMTPDataError The SMTP server refused to accept the message data.

contextlib.ExitStack.callback()

callback(callback, *args, **kwds) Accepts an arbitrary callback function and arguments and adds it to the callback stack. Unlike the other methods, callbacks added this way cannot suppress exceptions (as they are never passed the exception details). The passed in callback is returned from the function, allowing this method to be used as a function decorator.

venv.EnvBuilder.install_scripts()

install_scripts(context, path) path is the path to a directory that should contain subdirectories “common”, “posix”, “nt”, each containing scripts destined for the bin directory in the environment. The contents of “common” and the directory corresponding to os.name are copied after some text replacement of placeholders: __VENV_DIR__ is replaced with the absolute path of the environment directory. __VENV_NAME__ is replaced with the environment name (final path segment of environment directo

argparse.ArgumentParser.add_mutually_exclusive_group()

ArgumentParser.add_mutually_exclusive_group(required=False) Create a mutually exclusive group. argparse will make sure that only one of the arguments in the mutually exclusive group was present on the command line: >>> parser = argparse.ArgumentParser(prog='PROG') >>> group = parser.add_mutually_exclusive_group() >>> group.add_argument('--foo', action='store_true') >>> group.add_argument('--bar', action='store_false') >>> parser.parse_args(['--foo

math.acos()

math.acos(x) Return the arc cosine of x, in radians.

http.cookiejar.DefaultCookiePolicy.set_allowed_domains()

DefaultCookiePolicy.set_allowed_domains(allowed_domains) Set the sequence of allowed domains, or None.

filecmp.dircmp.right_only

right_only Files and subdirectories only in b.

xml.sax.SAXNotSupportedException

exception xml.sax.SAXNotSupportedException(msg, exception=None) Subclass of SAXException raised when a SAX XMLReader is asked to enable a feature that is not supported, or to set a property to a value that the implementation does not support. SAX applications and extensions may use this class for similar purposes.