bdb.Bdb.set_trace()

set_trace([frame]) Start debugging from frame. If frame is not specified, debugging starts from caller’s frame.

xml.etree.ElementTree.register_namespace()

xml.etree.ElementTree.register_namespace(prefix, uri) Registers a namespace prefix. The registry is global, and any existing mapping for either the given prefix or the namespace URI will be removed. prefix is a namespace prefix. uri is a namespace uri. Tags and attributes in this namespace will be serialized with the given prefix, if at all possible. New in version 3.2.

filecmp.cmpfiles()

filecmp.cmpfiles(dir1, dir2, common, shallow=True) Compare the files in the two directories dir1 and dir2 whose names are given by common. Returns three lists of file names: match, mismatch, errors. match contains the list of files that match, mismatch contains the names of those that don’t, and errors lists the names of files which could not be compared. Files are listed in errors if they don’t exist in one of the directories, the user lacks permission to read them or if the comparison coul

bytes.islower()

bytes.islower() bytearray.islower() Return true if there is at least one lowercase ASCII character in the sequence and no uppercase ASCII characters, false otherwise. For example: >>> b'hello world'.islower() True >>> b'Hello world'.islower() False Lowercase ASCII characters are those byte values in the sequence b'abcdefghijklmnopqrstuvwxyz'. Uppercase ASCII characters are those byte values in the sequence b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.

netrc.netrc.authenticators()

netrc.authenticators(host) Return a 3-tuple (login, account, password) of authenticators for host. If the netrc file did not contain an entry for the given host, return the tuple associated with the ‘default’ entry. If neither matching host nor default entry is available, return None.

binascii.rledecode_hqx()

binascii.rledecode_hqx(data) Perform RLE-decompression on the data, as per the binhex4 standard. The algorithm uses 0x90 after a byte as a repeat indicator, followed by a count. A count of 0 specifies a byte value of 0x90. The routine returns the decompressed data, unless data input data ends in an orphaned repeat indicator, in which case the Incomplete exception is raised. Changed in version 3.2: Accept only bytestring or bytearray objects as input.

subprocess.TimeoutExpired.output

output Output of the child process if it was captured by run() or check_output(). Otherwise, None.

inspect.isclass()

inspect.isclass(object) Return true if the object is a class, whether built-in or created in Python code.

inspect.Parameter.default

default The default value for the parameter. If the parameter has no default value, this attribute is set to Parameter.empty.

json.JSONDecoder.raw_decode()

raw_decode(s) Decode a JSON document from s (a str beginning with a JSON document) and return a 2-tuple of the Python representation and the index in s where the document ended. This can be used to decode a JSON document from a string that may have extraneous data at the end.