ssl.SSLSocket.selected_alpn_protocol()

SSLSocket.selected_alpn_protocol() Return the protocol that was selected during the TLS handshake. If SSLContext.set_alpn_protocols() was not called, if the other party does not support ALPN, if this socket does not support any of the client’s proposed protocols, or if the handshake has not happened yet, None is returned. New in version 3.5.

platform.python_revision()

platform.python_revision() Returns a string identifying the Python implementation SCM revision.

code.InteractiveInterpreter

class code.InteractiveInterpreter(locals=None) This class deals with parsing and interpreter state (the user’s namespace); it does not deal with input buffering or prompting or input file naming (the filename is always passed in explicitly). The optional locals argument specifies the dictionary in which code will be executed; it defaults to a newly created dictionary with key '__name__' set to '__console__' and key '__doc__' set to None.

logging.handlers.TimedRotatingFileHandler.doRollover()

doRollover() Does a rollover, as described above.

RuntimeError

exception RuntimeError Raised when an error is detected that doesn’t fall in any of the other categories. The associated value is a string indicating what precisely went wrong.

UnboundLocalError

exception UnboundLocalError Raised when a reference is made to a local variable in a function or method, but no value has been bound to that variable. This is a subclass of NameError.

ipaddress.IPv4Network.max_prefixlen

max_prefixlen Refer to the corresponding attribute documentation in IPv4Address

tarfile.ExtractError

exception tarfile.ExtractError Is raised for non-fatal errors when using TarFile.extract(), but only if TarFile.errorlevel== 2.

turtle.st()

turtle.st() Make the turtle visible. >>> turtle.showturtle()

platform.python_version()

platform.python_version() Returns the Python version as string 'major.minor.patchlevel'. Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0).