email.headerregistry.HeaderRegistry.__getitem__()

__getitem__(name) Construct and return a class to handle creating a name header.

mimetypes.MimeTypes.guess_extension()

MimeTypes.guess_extension(type, strict=True) Similar to the guess_extension() function, using the tables stored as part of the object.

ctypes.LibraryLoader.LoadLibrary()

LoadLibrary(name) Load a shared library into the process and return it. This method always returns a new instance of the library.

decimal.Context.Etiny()

Etiny() Returns a value equal to Emin - prec + 1 which is the minimum exponent value for subnormal results. When underflow occurs, the exponent is set to Etiny.

cmd.Cmd.postcmd()

Cmd.postcmd(stop, line) Hook method executed just after a command dispatch is finished. This method is a stub in Cmd; it exists to be overridden by subclasses. line is the command line which was executed, and stop is a flag which indicates whether execution will be terminated after the call to postcmd(); this will be the return value of the onecmd() method. The return value of this method will be used as the new value for the internal flag which corresponds to stop; returning false will caus

sys.byteorder

sys.byteorder An indicator of the native byte order. This will have the value 'big' on big-endian (most-significant byte first) platforms, and 'little' on little-endian (least-significant byte first) platforms.

io.RawIOBase.readall()

readall() Read and return all the bytes from the stream until EOF, using multiple calls to the stream if necessary.

os.posix_fadvise()

os.posix_fadvise(fd, offset, len, advice) Announces an intention to access data in a specific pattern thus allowing the kernel to make optimizations. The advice applies to the region of the file specified by fd starting at offset and continuing for len bytes. advice is one of POSIX_FADV_NORMAL, POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_NOREUSE, POSIX_FADV_WILLNEED or POSIX_FADV_DONTNEED. Availability: Unix. New in version 3.3.

bytes.capitalize()

bytes.capitalize() bytearray.capitalize() Return a copy of the sequence with each byte interpreted as an ASCII character, and the first byte capitalized and the rest lowercased. Non-ASCII byte values are passed through unchanged. Note The bytearray version of this method does not operate in place - it always produces a new object, even if no changes were made.

wsgiref.util.guess_scheme()

wsgiref.util.guess_scheme(environ) Return a guess for whether wsgi.url_scheme should be “http” or “https”, by checking for a HTTPS environment variable in the environ dictionary. The return value is a string. This function is useful when creating a gateway that wraps CGI or a CGI-like protocol such as FastCGI. Typically, servers providing such protocols will include a HTTPS variable with a value of “1” “yes”, or “on” when a request is received via SSL. So, this function returns “https” if su