http.cookiejar.DefaultCookiePolicy.strict_domain

DefaultCookiePolicy.strict_domain Don’t allow sites to set two-component domains with country-code top-level domains like .co.uk, .gov.uk, .co.nz.etc. This is far from perfect and isn’t guaranteed to work!

code.InteractiveConsole.interact()

InteractiveConsole.interact(banner=None) Closely emulate the interactive Python console. The optional banner argument specify the banner to print before the first interaction; by default it prints a banner similar to the one printed by the standard Python interpreter, followed by the class name of the console object in parentheses (so as not to confuse this with the real interpreter – since it’s so close!). Changed in version 3.4: To suppress printing any banner, pass an empty string.

mailbox.MHMessage.add_sequence()

add_sequence(sequence) Add sequence to the list of sequences that include this message.

http.client.HTTPResponse.fileno()

HTTPResponse.fileno() Return the fileno of the underlying socket.

asynchat.async_chat.ac_in_buffer_size

ac_in_buffer_size The asynchronous input buffer size (default 4096).

ctypes.addressof()

ctypes.addressof(obj) Returns the address of the memory buffer as integer. obj must be an instance of a ctypes type.

ctypes.OleDLL

class ctypes.OleDLL(name, mode=DEFAULT_MODE, handle=None, use_errno=False, use_last_error=False) Windows only: Instances of this class represent loaded shared libraries, functions in these libraries use the stdcall calling convention, and are assumed to return the windows specific HRESULT code. HRESULT values contain information specifying whether the function call failed or succeeded, together with additional error code. If the return value signals a failure, an OSError is automatically rai

imaplib.IMAP4_SSL

class imaplib.IMAP4_SSL(host='', port=IMAP4_SSL_PORT, keyfile=None, certfile=None, ssl_context=None) This is a subclass derived from IMAP4 that connects over an SSL encrypted socket (to use this class you need a socket module that was compiled with SSL support). If host is not specified, '' (the local host) is used. If port is omitted, the standard IMAP4-over-SSL port (993) is used. ssl_context is a ssl.SSLContext object which allows bundling SSL configuration options, certificates and priva

nntplib.NNTP.xhdr()

NNTP.xhdr(hdr, str, *, file=None) Send an XHDR command. The hdr argument is a header keyword, e.g. 'subject'. The str argument should have the form 'first-last' where first and last are the first and last article numbers to search. Return a pair (response, list), where list is a list of pairs (id, text), where id is an article number (as a string) and text is the text of the requested header for that article. If the file parameter is supplied, then the output of the XHDR command is stored in

locale.currency()

locale.currency(val, symbol=True, grouping=False, international=False) Formats a number val according to the current LC_MONETARY settings. The returned string includes the currency symbol if symbol is true, which is the default. If grouping is true (which is not the default), grouping is done with the value. If international is true (which is not the default), the international currency symbol is used. Note that this function will not work with the ‘C’ locale, so you have to set a locale via