object.__reduce_ex__()

object.__reduce_ex__(protocol) Alternatively, a __reduce_ex__() method may be defined. The only difference is this method should take a single integer argument, the protocol version. When defined, pickle will prefer it over the __reduce__() method. In addition, __reduce__() automatically becomes a synonym for the extended version. The main use for this method is to provide backwards-compatible reduce values for older Python releases.

list

class list([iterable]) Lists may be constructed in several ways: Using a pair of square brackets to denote the empty list: [] Using square brackets, separating items with commas: [a], [a, b, c] Using a list comprehension: [x for x in iterable] Using the type constructor: list() or list(iterable) The constructor builds a list whose items are the same and in the same order as iterable‘s items. iterable may be either a sequence, a container that supports iteration, or an iterator object.

bz2.decompress()

bz2.decompress(data) Decompress data. If data is the concatenation of multiple compressed streams, decompress all of the streams. For incremental decompression, use a BZ2Decompressor instead. Changed in version 3.3: Support for multi-stream inputs was added.

re.fullmatch()

re.fullmatch(pattern, string, flags=0) If the whole string matches the regular expression pattern, return a corresponding match object. Return None if the string does not match the pattern; note that this is different from a zero-length match. New in version 3.4.

tarfile.TarInfo.isfifo()

TarInfo.isfifo() Return True if it is a FIFO.

xml.sax.xmlreader.XMLReader

class xml.sax.xmlreader.XMLReader Base class which can be inherited by SAX parsers.

csv.csvwriter.writerows()

csvwriter.writerows(rows) Write all the rows parameters (a list of row objects as described above) to the writer’s file object, formatted according to the current dialect.

doctest.run_docstring_examples()

doctest.run_docstring_examples(f, globs, verbose=False, name="NoName", compileflags=None, optionflags=0) Test examples associated with object f; for example, f may be a string, a module, a function, or a class object. A shallow copy of dictionary argument globs is used for the execution context. Optional argument name is used in failure messages, and defaults to "NoName". If optional argument verbose is true, output is generated even if there are no failures. By default, output is generated

ctypes._CData._objects

_objects This member is either None or a dictionary containing Python objects that need to be kept alive so that the memory block contents is kept valid. This object is only exposed for debugging; never modify the contents of this dictionary.

traceback.TracebackException.offset

offset For syntax errors - the offset into the text where the error occurred.