socket.inet_ntop()

socket.inet_ntop(address_family, packed_ip) Convert a packed IP address (a bytes-like object of some number of bytes) to its standard, family-specific string representation (for example, '7.10.0.5' or '5aef:2b::8'). inet_ntop() is useful when a library or network protocol returns an object of type struct in_addr (similar to inet_ntoa()) or struct in6_addr. Supported values for address_family are currently AF_INET and AF_INET6. If the bytes object packed_ip is not the correct length for the s

email.message.EmailMessage.get_content()

get_content(*args, content_manager=None, **kw) Call the get_content method of the content_manager, passing self as the message object, and passing along any other arguments or keywords as additional arguments. If content_manager is not specified, use the content_manager specified by the current policy.

email.utils.encode_rfc2231()

email.utils.encode_rfc2231(s, charset=None, language=None) Encode the string s according to RFC 2231. Optional charset and language, if given is the character set name and language name to use. If neither is given, s is returned as-is. If charset is given but language is not, the string is encoded using the empty string for language.

os.sched_setscheduler()

os.sched_setscheduler(pid, policy, param) Set the scheduling policy for the process with PID pid. A pid of 0 means the calling process. policy is one of the scheduling policy constants above. param is a sched_param instance.

shutil.register_unpack_format()

shutil.register_unpack_format(name, extensions, function[, extra_args[, description]]) Registers an unpack format. name is the name of the format and extensions is a list of extensions corresponding to the format, like .zip for Zip files. function is the callable that will be used to unpack archives. The callable will receive the path of the archive, followed by the directory the archive must be extracted to. When provided, extra_args is a sequence of (name, value) tuples that will be passed

nntplib.NNTP.nntp_implementation

NNTP.nntp_implementation A string describing the software name and version of the NNTP server, or None if not advertised by the server. New in version 3.2.

multiprocessing.Queue.put()

put(obj[, block[, timeout]]) Put obj into the queue. If the optional argument block is True (the default) and timeout is None (the default), block if necessary until a free slot is available. If timeout is a positive number, it blocks at most timeout seconds and raises the queue.Full exception if no free slot was available within that time. Otherwise (block is False), put an item on the queue if a free slot is immediately available, else raise the queue.Full exception (timeout is ignored in

logging.handlers.DatagramHandler.makeSocket()

makeSocket() The factory method of SocketHandler is here overridden to create a UDP socket (socket.SOCK_DGRAM).

http.cookiejar.DefaultCookiePolicy.DomainStrictNoDots

DefaultCookiePolicy.DomainStrictNoDots When setting cookies, the ‘host prefix’ must not contain a dot (eg. www.foo.bar.com can’t set a cookie for .bar.com, because www.foo contains a dot).

logging.StreamHandler

class logging.StreamHandler(stream=None) Returns a new instance of the StreamHandler class. If stream is specified, the instance will use it for logging output; otherwise, sys.stderr will be used. emit(record) If a formatter is specified, it is used to format the record. The record is then written to the stream with a terminator. If exception information is present, it is formatted using traceback.print_exception() and appended to the stream. flush() Flushes the stream by calling it