OverflowError

exception OverflowError Raised when the result of an arithmetic operation is too large to be represented. This cannot occur for integers (which would rather raise MemoryError than give up). However, for historical reasons, OverflowError is sometimes raised for integers that are outside a required range. Because of the lack of standardization of floating point exception handling in C, most floating point operations are not checked.

decimal.Decimal.max_mag()

max_mag(other, context=None) Similar to the max() method, but the comparison is done using the absolute values of the operands.

ssl.SSLContext.session_stats()

SSLContext.session_stats() Get statistics about the SSL sessions created or managed by this context. A dictionary is returned which maps the names of each piece of information to their numeric values. For example, here is the total number of hits and misses in the session cache since the context was created: >>> stats = context.session_stats() >>> stats['hits'], stats['misses'] (0, 0)

datetime.datetime.date()

datetime.date() Return date object with same year, month and day.

asynchat.async_chat.collect_incoming_data()

async_chat.collect_incoming_data(data) Called with data holding an arbitrary amount of received data. The default method, which must be overridden, raises a NotImplementedError exception.

datetime.date

class datetime.date(year, month, day) All arguments are required. Arguments may be integers, in the following ranges: MINYEAR <= year <= MAXYEAR 1 <= month <= 12 1 <= day <= number of days in the given month and year If an argument outside those ranges is given, ValueError is raised.

webbrowser.register()

webbrowser.register(name, constructor, instance=None) Register the browser type name. Once a browser type is registered, the get() function can return a controller for that browser type. If instance is not provided, or is None, constructor will be called without parameters to create an instance when needed. If instance is provided, constructor will never be called, and may be None. This entry point is only useful if you plan to either set the BROWSER variable or call get() with a nonempty ar

os.getcwdb()

os.getcwdb() Return a bytestring representing the current working directory.

unittest.registerResult()

unittest.registerResult(result) Register a TestResult object for control-c handling. Registering a result stores a weak reference to it, so it doesn’t prevent the result from being garbage collected. Registering a TestResult object has no side-effects if control-c handling is not enabled, so test frameworks can unconditionally register all results they create independently of whether or not handling is enabled.

mailbox.Mailbox.unlock()

unlock() Release the lock on the mailbox, if any.