socketserver.BaseRequestHandler.finish()

finish() Called after the handle() method to perform any clean-up actions required. The default implementation does nothing. If setup() raises an exception, this function will not be called.

iterator.__next__()

iterator.__next__() Return the next item from the container. If there are no further items, raise the StopIteration exception. This method corresponds to the tp_iternext slot of the type structure for Python objects in the Python/C API.

asyncio.Future

class asyncio.Future(*, loop=None) This class is almost compatible with concurrent.futures.Future. Differences: result() and exception() do not take a timeout argument and raise an exception when the future isn’t done yet. Callbacks registered with add_done_callback() are always called via the event loop’s call_soon_threadsafe(). This class is not compatible with the wait() and as_completed() functions in the concurrent.futures package. This class is not thread safe. cancel() Cancel th

Exception

exception Exception All built-in, non-system-exiting exceptions are derived from this class. All user-defined exceptions should also be derived from this class.

os.sched_yield()

os.sched_yield() Voluntarily relinquish the CPU.

re.regex.match()

regex.match(string[, pos[, endpos]]) If zero or more characters at the beginning of string match this regular expression, return a corresponding match object. Return None if the string does not match the pattern; note that this is different from a zero-length match. The optional pos and endpos parameters have the same meaning as for the search() method. >>> pattern = re.compile("o") >>> pattern.match("dog") # No match as "o" is not at the start of "dog". >>> p

linecache.checkcache()

linecache.checkcache(filename=None) Check the cache for validity. Use this function if files in the cache may have changed on disk, and you require the updated version. If filename is omitted, it will check all the entries in the cache.

types.LambdaType

types.LambdaType The type of user-defined functions and functions created by lambda expressions.

importlib.machinery.EXTENSION_SUFFIXES

importlib.machinery.EXTENSION_SUFFIXES A list of strings representing the recognized file suffixes for extension modules. New in version 3.3.

symtable.Symbol.get_namespaces()

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