pathlib.PureWindowsPath

class pathlib.PureWindowsPath(*pathsegments) A subclass of PurePath, this path flavour represents Windows filesystem paths: >>> PureWindowsPath('c:/Program Files/') PureWindowsPath('c:/Program Files') pathsegments is specified similarly to PurePath.

ast.increment_lineno()

ast.increment_lineno(node, n=1) Increment the line number of each node in the tree starting at node by n. This is useful to “move code” to a different location in a file.

fnmatch.filter()

fnmatch.filter(names, pattern) Return the subset of the list of names that match pattern. It is the same as [n for n in names if fnmatch(n, pattern)], but implemented more efficiently.

inspect.getmodule()

inspect.getmodule(object) Try to guess which module an object was defined in.

email.parser.FeedParser

class email.parser.FeedParser(_factory=email.message.Message, *, policy=policy.compat32) Create a FeedParser instance. Optional _factory is a no-argument callable that will be called whenever a new message object is needed. It defaults to the email.message.Message class. If policy is specified (it must be an instance of a policy class) use the rules it specifies to update the representation of the message. If policy is not set, use the compat32 policy, which maintains backward compatibility

http.server.BaseHTTPRequestHandler.request_version

request_version Contains the version string from the request. For example, 'HTTP/1.0'.

difflib.HtmlDiff.make_table()

make_table(fromlines, tolines, fromdesc='', todesc='', context=False, numlines=5) Compares fromlines and tolines (lists of strings) and returns a string which is a complete HTML table showing line by line differences with inter-line and intra-line changes highlighted. The arguments for this method are the same as those for the make_file() method.

fractions.Fraction.numerator

numerator Numerator of the Fraction in lowest term.

xml.dom.pulldom.parseString()

xml.dom.pulldom.parseString(string, parser=None) Return a DOMEventStream that represents the (Unicode) string.

symtable.Function.get_frees()

get_frees() Return a tuple containing names of free variables in this function.