threading.Thread.join()

join(timeout=None) Wait until the thread terminates. This blocks the calling thread until the thread whose join() method is called terminates – either normally or through an unhandled exception –, or until the optional timeout occurs. When the timeout argument is present and not None, it should be a floating point number specifying a timeout for the operation in seconds (or fractions thereof). As join() always returns None, you must call is_alive() after join() to decide whether a timeout ha

asyncio.BaseSubprocessTransport.close()

close() Ask the subprocess to stop by calling the terminate() method if the subprocess hasn’t returned yet, and close transports of all pipes (stdin, stdout and stderr).

smtplib.SMTPConnectError

exception smtplib.SMTPConnectError Error occurred during establishment of a connection with the server.

array.array.fromstring()

array.fromstring() Deprecated alias for frombytes().

socketserver.BaseServer.serve_forever()

serve_forever(poll_interval=0.5) Handle requests until an explicit shutdown() request. Poll for shutdown every poll_interval seconds. Ignores the timeout attribute. It also calls service_actions(), which may be used by a subclass or mixin to provide actions specific to a given service. For example, the ForkingMixIn class uses service_actions() to clean up zombie child processes. Changed in version 3.3: Added service_actions call to the serve_forever method.

codecs.StreamRecoder

class codecs.StreamRecoder(stream, encode, decode, Reader, Writer, errors) Creates a StreamRecoder instance which implements a two-way conversion: encode and decode work on the frontend — the data visible to code calling read() and write(), while Reader and Writer work on the backend — the data in stream. You can use these objects to do transparent transcodings from e.g. Latin-1 to UTF-8 and back. The stream argument must be a file-like object. The encode and decode arguments must adhere to

urllib.request.BaseHandler.http_error_nnn()

BaseHandler.http_error_nnn(req, fp, code, msg, hdrs) nnn should be a three-digit HTTP error code. This method is also not defined in BaseHandler, but will be called, if it exists, on an instance of a subclass, when an HTTP error with code nnn occurs. Subclasses should override this method to handle specific HTTP errors. Arguments, return values and exceptions raised should be the same as for http_error_default().

xmlrpc.client.ServerProxy.system.listMethods()

ServerProxy.system.listMethods() This method returns a list of strings, one for each (non-system) method supported by the XML-RPC server.

audioop.byteswap()

audioop.byteswap(fragment, width) “Byteswap” all samples in a fragment and returns the modified fragment. Converts big-endian samples to little-endian and vice versa. New in version 3.4.

ast.AST.lineno

lineno col_offset Instances of ast.expr and ast.stmt subclasses have lineno and col_offset attributes. The lineno is the line number of source text (1-indexed so the first line is line 1) and the col_offset is the UTF-8 byte offset of the first token that generated the node. The UTF-8 offset is recorded because the parser uses UTF-8 internally.