http.cookiejar.DefaultCookiePolicy

class http.cookiejar.DefaultCookiePolicy(blocked_domains=None, allowed_domains=None, netscape=True, rfc2965=False, rfc2109_as_netscape=None, hide_cookie2=False, strict_domain=False, strict_rfc2965_unverifiable=True, strict_ns_unverifiable=False, strict_ns_domain=DefaultCookiePolicy.DomainLiberal, strict_ns_set_initial_dollar=False, strict_ns_set_path=False) Constructor arguments should be passed as keyword arguments only. blocked_domains is a sequence of domain names that we never accept coo

mailbox.Mailbox.get_string()

get_string(key) Return a string representation of the message corresponding to key, or raise a KeyError exception if no such message exists. The message is processed through email.message.Message to convert it to a 7bit clean representation.

urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated()

HTTPPasswordMgrWithPriorAuth.is_authenticated(self, authuri) Returns the current state of the is_authenticated flag for the given URI.

operator.__abs__()

operator.__abs__(obj) Return the absolute value of obj.

locale.delocalize()

locale.delocalize(string) Converts a string into a normalized number string, following the LC_NUMERIC settings. New in version 3.5.

os.fstatvfs()

os.fstatvfs(fd) Return information about the filesystem containing the file associated with file descriptor fd, like statvfs(). As of Python 3.3, this is equivalent to os.statvfs(fd). Availability: Unix.

bz2.BZ2Compressor.flush()

flush() Finish the compression process. Returns the compressed data left in internal buffers. The compressor object may not be used after this method has been called.

urllib.parse.unquote_to_bytes()

urllib.parse.unquote_to_bytes(string) Replace %xx escapes by their single-octet equivalent, and return a bytes object. string may be either a str or a bytes. If it is a str, unescaped non-ASCII characters in string are encoded into UTF-8 bytes. Example: unquote_to_bytes('a%26%EF') yields b'a&\xef'.

importlib.util.MAGIC_NUMBER

importlib.util.MAGIC_NUMBER The bytes which represent the bytecode version number. If you need help with loading/writing bytecode then consider importlib.abc.SourceLoader. New in version 3.4.

email.message.Message.get_param()

get_param(param, failobj=None, header='content-type', unquote=True) Return the value of the Content-Type header’s parameter param as a string. If the message has no Content-Type header or if there is no such parameter, then failobj is returned (defaults to None). Optional header if given, specifies the message header to use instead of Content-Type. Parameter keys are always compared case insensitively. The return value can either be a string, or a 3-tuple if the parameter was RFC 2231 encode