decimal.Decimal.copy_sign()

copy_sign(other, context=None) Return a copy of the first operand with the sign set to be the same as the sign of the second operand. For example: >>> Decimal('2.3').copy_sign(Decimal('-1.5')) Decimal('-2.3') This operation is unaffected by context and is quiet: no flags are changed and no rounding is performed. As an exception, the C version may raise InvalidOperation if the second operand cannot be converted exactly.

tabnanny.check()

tabnanny.check(file_or_dir) If file_or_dir is a directory and not a symbolic link, then recursively descend the directory tree named by file_or_dir, checking all .py files along the way. If file_or_dir is an ordinary Python source file, it is checked for whitespace related problems. The diagnostic messages are written to standard output using the print() function.

curses.window.scrollok()

window.scrollok(flag) Control what happens when the cursor of a window is moved off the edge of the window or scrolling region, either as a result of a newline action on the bottom line, or typing the last character of the last line. If flag is false, the cursor is left on the bottom line. If flag is true, the window is scrolled up one line. Note that in order to get the physical scrolling effect on the terminal, it is also necessary to call idlok().

os.WTERMSIG()

os.WTERMSIG(status) Return the signal which caused the process to exit. Availability: Unix.

object.__dict__

object.__dict__ A dictionary or other mapping object used to store an object’s (writable) attributes.

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