weakref.ProxyType

weakref.ProxyType The type object for proxies of objects which are not callable.

itertools.tee()

itertools.tee(iterable, n=2) Return n independent iterators from a single iterable. Roughly equivalent to: def tee(iterable, n=2): it = iter(iterable) deques = [collections.deque() for i in range(n)] def gen(mydeque): while True: if not mydeque: # when the local deque is empty try: newval = next(it) # fetch a new value and except StopIteration: return for d in

email.policy.Compat32.header_fetch_parse()

header_fetch_parse(name, value) If the value contains binary data, it is converted into a Header object using the unknown-8bit charset. Otherwise it is returned unmodified.

operator.add()

operator.add(a, b) operator.__add__(a, b) Return a + b, for a and b numbers.

email.policy.strict

email.policy.strict Convenience instance. The same as default except that raise_on_defect is set to True. This allows any policy to be made strict by writing: somepolicy + policy.strict

heapq.heapify()

heapq.heapify(x) Transform list x into a heap, in-place, in linear time.

time.tzname

time.tzname A tuple of two strings: the first is the name of the local non-DST timezone, the second is the name of the local DST timezone. If no DST timezone is defined, the second string should not be used.

curses.putp()

curses.putp(string) Equivalent to tputs(str, 1, putchar); emit the value of a specified terminfo capability for the current terminal. Note that the output of putp() always goes to standard output.

xml.dom.Document.createAttribute()

Document.createAttribute(name) Create and return an attribute node. This method does not associate the attribute node with any particular element. You must use setAttributeNode() on the appropriate Element object to use the newly created attribute instance.

pyclbr.Class.lineno

Class.lineno The line number of the class statement within the file named by file.