wsgiref.handlers.BaseHandler.run()

run(app) Run the specified WSGI application, app.

pathlib.PurePath.name

PurePath.name A string representing the final path component, excluding the drive and root, if any: >>> PurePosixPath('my/library/setup.py').name 'setup.py' UNC drive names are not considered: >>> PureWindowsPath('//some/share/setup.py').name 'setup.py' >>> PureWindowsPath('//some/share').name ''

inspect.cleandoc()

inspect.cleandoc(doc) Clean up indentation from docstrings that are indented to line up with blocks of code. All leading whitespace is removed from the first line. Any leading whitespace that can be uniformly removed from the second line onwards is removed. Empty lines at the beginning and end are subsequently removed. Also, all tabs are expanded to spaces.

hashlib.hash.copy()

hash.copy() Return a copy (“clone”) of the hash object. This can be used to efficiently compute the digests of data sharing a common initial substring.

imaplib.IMAP4.create()

IMAP4.create(mailbox) Create new mailbox named mailbox.

threading.Thread.is_alive()

is_alive() Return whether the thread is alive. This method returns True just before the run() method starts until just after the run() method terminates. The module function enumerate() returns a list of all alive threads.

pprint.PrettyPrinter.isrecursive()

PrettyPrinter.isrecursive(object) Determine if the object requires a recursive representation.

datetime.date.strftime()

date.strftime(format) Return a string representing the date, controlled by an explicit format string. Format codes referring to hours, minutes or seconds will see 0 values. For a complete list of formatting directives, see strftime() and strptime() Behavior.

email.message.Message.replace_header()

replace_header(_name, _value) Replace a header. Replace the first header found in the message that matches _name, retaining header order and field name case. If no matching header was found, a KeyError is raised.

dict.setdefault()

setdefault(key[, default]) If key is in the dictionary, return its value. If not, insert key with a value of default and return default. default defaults to None.