unittest.TestResult.startTestRun()

startTestRun() Called once before any tests are executed. New in version 3.1.

ftplib.FTP.retrlines()

FTP.retrlines(cmd, callback=None) Retrieve a file or directory listing in ASCII transfer mode. cmd should be an appropriate RETR command (see retrbinary()) or a command such as LIST or NLST (usually just the string 'LIST'). LIST retrieves a list of files and information about those files. NLST retrieves a list of file names. The callback function is called for each line with a string argument containing the line with the trailing CRLF stripped. The default callback prints the line to sys.std

xml.dom.DocumentType.systemId

DocumentType.systemId The system identifier for the external subset of the document type definition. This will be a URI as a string, or None.

email.headerregistry.UnstructuredHeader

class email.headerregistry.UnstructuredHeader An “unstructured” header is the default type of header in RFC 5322. Any header that does not have a specified syntax is treated as unstructured. The classic example of an unstructured header is the Subject header. In RFC 5322, an unstructured header is a run of arbitrary text in the ASCII character set. RFC 2047, however, has an RFC 5322 compatible mechanism for encoding non-ASCII text as ASCII characters within a header value. When a value conta

hmac.HMAC.name

HMAC.name The canonical name of this HMAC, always lowercase, e.g. hmac-md5. New in version 3.4.

xmlrpc.client.loads()

xmlrpc.client.loads(data, use_datetime=False, use_builtin_types=False) Convert an XML-RPC request or response into Python objects, a (params, methodname). params is a tuple of argument; methodname is a string, or None if no method name is present in the packet. If the XML-RPC packet represents a fault condition, this function will raise a Fault exception. The use_builtin_types flag can be used to cause date/time values to be presented as datetime.datetime objects and binary data to be presen

id()

id(object) Return the “identity” of an object. This is an integer which is guaranteed to be unique and constant for this object during its lifetime. Two objects with non-overlapping lifetimes may have the same id() value. CPython implementation detail: This is the address of the object in memory.

urllib.robotparser.RobotFileParser.can_fetch()

can_fetch(useragent, url) Returns True if the useragent is allowed to fetch the url according to the rules contained in the parsed robots.txt file.

stat.S_ISFIFO()

stat.S_ISFIFO(mode) Return non-zero if the mode is from a FIFO (named pipe).

sqlite3.Cursor.executescript()

executescript(sql_script) This is a nonstandard convenience method for executing multiple SQL statements at once. It issues a COMMIT statement first, then executes the SQL script it gets as a parameter. sql_script can be an instance of str. Example: import sqlite3 con = sqlite3.connect(":memory:") cur = con.cursor() cur.executescript(""" create table person( firstname, lastname, age ); create table book( title, author, published