email.policy.EmailPolicy

class email.policy.EmailPolicy(**kw) This concrete Policy provides behavior that is intended to be fully compliant with the current email RFCs. These include (but are not limited to) RFC 5322, RFC 2047, and the current MIME RFCs. This policy adds new header parsing and folding algorithms. Instead of simple strings, headers are str subclasses with attributes that depend on the type of the field. The parsing and folding algorithm fully implement RFC 2047 and RFC 5322. In addition to the settab

argparse.ArgumentParser.add_subparsers()

ArgumentParser.add_subparsers([title][, description][, prog][, parser_class][, action][, option_string][, dest][, help][, metavar]) Many programs split up their functionality into a number of sub-commands, for example, the svn program can invoke sub-commands like svn checkout, svn update, and svn commit. Splitting up functionality this way can be a particularly good idea when a program performs several different functions which require different kinds of command-line arguments. ArgumentParse

pdb.Pdb.set_trace()

set_trace() See the documentation for the functions explained above.

decimal.Decimal.radix()

radix() Return Decimal(10), the radix (base) in which the Decimal class does all its arithmetic. Included for compatibility with the specification.

wsgiref.handlers.BaseHandler.get_scheme()

get_scheme() Return the URL scheme being used for the current request. The default implementation uses the guess_scheme() function from wsgiref.util to guess whether the scheme should be “http” or “https”, based on the current request’s environ variables.

collections.deque.extend()

extend(iterable) Extend the right side of the deque by appending elements from the iterable argument.

unittest.TestLoader

class unittest.TestLoader The TestLoader class is used to create test suites from classes and modules. Normally, there is no need to create an instance of this class; the unittest module provides an instance that can be shared as unittest.defaultTestLoader. Using a subclass or instance, however, allows customization of some configurable properties. TestLoader objects have the following attributes: errors A list of the non-fatal errors encountered while loading tests. Not reset by the load

test.support.TransientResource

class test.support.TransientResource(exc, **kwargs) Instances are a context manager that raises ResourceDenied if the specified exception type is raised. Any keyword arguments are treated as attribute/value pairs to be compared against any exception raised within the with statement. Only if all pairs match properly against attributes on the exception is ResourceDenied raised.

tarfile.TarInfo.uname

TarInfo.uname User name.

wave.Error

exception wave.Error An error raised when something is impossible because it violates the WAV specification or hits an implementation deficiency.