BaseException.args

args The tuple of arguments given to the exception constructor. Some built-in exceptions (like OSError) expect a certain number of arguments and assign a special meaning to the elements of this tuple, while others are usually called only with a single string giving an error message.

curses.color_content()

curses.color_content(color_number) Return the intensity of the red, green, and blue (RGB) components in the color color_number, which must be between 0 and COLORS. A 3-tuple is returned, containing the R,G,B values for the given color, which will be between 0 (no component) and 1000 (maximum amount of component).

os.getpgid()

os.getpgid(pid) Return the process group id of the process with process id pid. If pid is 0, the process group id of the current process is returned. Availability: Unix.

mmap.mmap.read_byte()

read_byte() Returns a byte at the current file position as an integer, and advances the file position by 1.

smtpd.DebuggingServer

class smtpd.DebuggingServer(localaddr, remoteaddr) Create a new debugging server. Arguments are as per SMTPServer. Messages will be discarded, and printed on stdout.

asyncio.Server.wait_closed()

coroutine wait_closed() Wait until the close() method completes. This method is a coroutine.

multiprocessing.Event

class multiprocessing.Event A clone of threading.Event.

crypt.methods

crypt.methods A list of available password hashing algorithms, as crypt.METHOD_* objects. This list is sorted from strongest to weakest, and is guaranteed to have at least crypt.METHOD_CRYPT.

urllib.request.urlopen()

urllib.request.urlopen(url, data=None, [timeout, ]*, cafile=None, capath=None, cadefault=False, context=None) Open the URL url, which can be either a string or a Request object. data must be a bytes object specifying additional data to be sent to the server, or None if no such data is needed. data may also be an iterable object and in that case Content-Length value must be specified in the headers. Currently HTTP requests are the only ones that use data; the HTTP request will be a POST inste

abc.get_cache_token()

abc.get_cache_token() Returns the current abstract base class cache token. The token is an opaque object (that supports equality testing) identifying the current version of the abstract base class cache for virtual subclasses. The token changes with every call to ABCMeta.register() on any ABC. New in version 3.4.