binascii.a2b_uu()

binascii.a2b_uu(string) Convert a single line of uuencoded data back to binary and return the binary data. Lines normally contain 45 (binary) bytes, except for the last line. Line data may be followed by whitespace.

ipaddress.IPv6Address.is_site_local

is_site_local True if the address is reserved for site-local usage. Note that the site-local address space has been deprecated by RFC 3879. Use is_private to test if this address is in the space of unique local addresses as defined by RFC 4193.

unittest.mock.patch.multiple()

patch.multiple(target, spec=None, create=False, spec_set=None, autospec=None, new_callable=None, **kwargs) Perform multiple patches in a single call. It takes the object to be patched (either as an object or a string to fetch the object by importing) and keyword arguments for the patches: with patch.multiple(settings, FIRST_PATCH='one', SECOND_PATCH='two'): ... Use DEFAULT as the value if you want patch.multiple() to create mocks for you. In this case the created mocks are passed into a

symtable.Symbol.get_namespaces()

get_namespaces() Return a list of namespaces bound to this name.

inspect.Signature.from_callable()

classmethod from_callable(obj, *, follow_wrapped=True) Return a Signature (or its subclass) object for a given callable obj. Pass follow_wrapped=False to get a signature of obj without unwrapping its __wrapped__ chain. This method simplifies subclassing of Signature: class MySignature(Signature): pass sig = MySignature.from_callable(min) assert isinstance(sig, MySignature) New in version 3.5.

heapq.merge()

heapq.merge(*iterables, key=None, reverse=False) Merge multiple sorted inputs into a single sorted output (for example, merge timestamped entries from multiple log files). Returns an iterator over the sorted values. Similar to sorted(itertools.chain(*iterables)) but returns an iterable, does not pull the data into memory all at once, and assumes that each of the input streams is already sorted (smallest to largest). Has two optional arguments which must be specified as keyword arguments. key

inspect.BoundArguments.arguments

arguments An ordered, mutable mapping (collections.OrderedDict) of parameters’ names to arguments’ values. Contains only explicitly bound arguments. Changes in arguments will reflect in args and kwargs. Should be used in conjunction with Signature.parameters for any argument processing purposes. Note Arguments for which Signature.bind() or Signature.bind_partial() relied on a default value are skipped. However, if needed, use BoundArguments.apply_defaults() to add them.

decimal.Decimal.max()

max(other, context=None) Like max(self, other) except that the context rounding rule is applied before returning and that NaN values are either signaled or ignored (depending on the context and whether they are signaling or quiet).

cgi.parse_qsl()

cgi.parse_qsl(qs, keep_blank_values=False, strict_parsing=False) This function is deprecated in this module. Use urllib.parse.parse_qsl() instead. It is maintained here only for backward compatibility.

xml.sax.xmlreader.XMLReader.setDTDHandler()

XMLReader.setDTDHandler(handler) Set the current DTDHandler. If no DTDHandler is set, DTD events will be discarded.