ssl.SSLContext.protocol

SSLContext.protocol The protocol version chosen when constructing the context. This attribute is read-only.

calendar.leapdays()

calendar.leapdays(y1, y2) Returns the number of leap years in the range from y1 to y2 (exclusive), where y1 and y2 are years. This function works for ranges spanning a century change.

xml.dom.DocumentType.publicId

DocumentType.publicId The public identifier for the external subset of the document type definition. This will be a string or None.

http.cookies.BaseCookie.output()

BaseCookie.output(attrs=None, header='Set-Cookie:', sep='\r\n') Return a string representation suitable to be sent as HTTP headers. attrs and header are sent to each Morsel‘s output() method. sep is used to join the headers together, and is by default the combination '\r\n' (CRLF).

gettext.gettext()

gettext.gettext(message) Return the localized translation of message, based on the current global domain, language, and locale directory. This function is usually aliased as _() in the local namespace (see examples below).

select.poll()

select.poll() (Not supported by all operating systems.) Returns a polling object, which supports registering and unregistering file descriptors, and then polling them for I/O events; see section Polling Objects below for the methods supported by polling objects.

os.WSTOPSIG()

os.WSTOPSIG(status) Return the signal which caused the process to stop. Availability: Unix.

logging.config.listen()

logging.config.listen(port=DEFAULT_LOGGING_CONFIG_PORT, verify=None) Starts up a socket server on the specified port, and listens for new configurations. If no port is specified, the module’s default DEFAULT_LOGGING_CONFIG_PORT is used. Logging configurations will be sent as a file suitable for processing by fileConfig(). Returns a Thread instance on which you can call start() to start the server, and which you can join() when appropriate. To stop the server, call stopListening(). The verify

parser.ST.isexpr()

ST.isexpr() Same as isexpr(st).

curses.ascii.isspace()

curses.ascii.isspace(c) Checks for ASCII white-space characters; space, line feed, carriage return, form feed, horizontal tab, vertical tab.