logging.handlers.SMTPHandler.getSubject()

getSubject(record) If you want to specify a subject line which is record-dependent, override this method.

socketserver.BaseServer.server_bind()

server_bind() Called by the server’s constructor to bind the socket to the desired address. May be overridden.

textwrap.TextWrapper.initial_indent

initial_indent (default: '') String that will be prepended to the first line of wrapped output. Counts towards the length of the first line. The empty string is not indented.

inspect.isbuiltin()

inspect.isbuiltin(object) Return true if the object is a built-in function or a bound built-in method.

turtle.backward()

turtle.backward(distance) Parameters: distance – a number Move the turtle backward by distance, opposite to the direction the turtle is headed. Do not change the turtle’s heading. >>> turtle.position() (0.00,0.00) >>> turtle.backward(30) >>> turtle.position() (-30.00,0.00)

math.modf()

math.modf(x) Return the fractional and integer parts of x. Both results carry the sign of x and are floats.

email.parser.BytesParser.parse()

parse(fp, headersonly=False) Read all the data from the binary file-like object fp, parse the resulting bytes, and return the message object. fp must support both the readline() and the read() methods on file-like objects. The bytes contained in fp must be formatted as a block of RFC 2822 style headers and header continuation lines, optionally preceded by an envelope header. The header block is terminated either by the end of the data or by a blank line. Following the header block is the bod

test.support.find_unused_port()

test.support.find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM) Returns an unused port that should be suitable for binding. This is achieved by creating a temporary socket with the same family and type as the sock parameter (default is AF_INET, SOCK_STREAM), and binding it to the specified host address (defaults to 0.0.0.0) with the port set to 0, eliciting an unused ephemeral port from the OS. The temporary socket is then closed and deleted, and the ephemeral port is retur

urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated()

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

locale.setlocale()

locale.setlocale(category, locale=None) If locale is given and not None, setlocale() modifies the locale setting for the category. The available categories are listed in the data description below. locale may be a string, or an iterable of two strings (language code and encoding). If it’s an iterable, it’s converted to a locale name using the locale aliasing engine. An empty string specifies the user’s default settings. If the modification of the locale fails, the exception Error is raised.