asyncore.dispatcher.handle_expt()

handle_expt() Called when there is out of band (OOB) data for a socket connection. This will almost never happen, as OOB is tenuously supported and rarely used.

cmath.phase()

cmath.phase(x) Return the phase of x (also known as the argument of x), as a float. phase(x) is equivalent to math.atan2(x.imag, x.real). The result lies in the range [-π, π], and the branch cut for this operation lies along the negative real axis, continuous from above. On systems with support for signed zeros (which includes most systems in current use), this means that the sign of the result is the same as the sign of x.imag, even when x.imag is zero: >>> phase(complex(-1.0, 0.0)

doctest.UnexpectedException.exc_info

UnexpectedException.exc_info A tuple containing information about the unexpected exception, as returned by sys.exc_info().

calendar.isleap()

calendar.isleap(year) Returns True if year is a leap year, otherwise False.

dict.popitem()

popitem() Remove and return an arbitrary (key, value) pair from the dictionary. popitem() is useful to destructively iterate over a dictionary, as often used in set algorithms. If the dictionary is empty, calling popitem() raises a KeyError.

multiprocessing.Queue.put_nowait()

put_nowait(obj) Equivalent to put(obj, False).

doctest.DocTestFailure.got

DocTestFailure.got The example’s actual output.

struct.error

exception struct.error Exception raised on various occasions; argument is a string describing what is wrong.

decimal.Decimal.compare()

compare(other, context=None) Compare the values of two Decimal instances. compare() returns a Decimal instance, and if either operand is a NaN then the result is a NaN: a or b is a NaN ==> Decimal('NaN') a < b ==> Decimal('-1') a == b ==> Decimal('0') a > b ==> Decimal('1')

curses.noqiflush()

curses.noqiflush() When the noqiflush() routine is used, normal flush of input and output queues associated with the INTR, QUIT and SUSP characters will not be done. You may want to call noqiflush() in a signal handler if you want output to continue as though the interrupt had not occurred, after the handler exits.