ipaddress.IPv6Network.with_hostmask

with_hostmask

pprint.isrecursive()

pprint.isrecursive(object) Determine if object requires a recursive representation.

reprlib.Repr.maxset

Repr.maxset Repr.maxfrozenset Repr.maxdeque Repr.maxarray Limits on the number of entries represented for the named object type. The default is 4 for maxdict, 5 for maxarray, and 6 for the others.

ossaudiodev.oss_audio_device.bufsize()

oss_audio_device.bufsize() Returns the size of the hardware buffer, in samples.

ftplib.FTP.rmd()

FTP.rmd(dirname) Remove the directory named dirname on the server.

wsgiref.handlers.BaseHandler.error_body

error_body The error response body. This should be an HTTP response body bytestring. It defaults to the plain text, “A server error occurred. Please contact the administrator.”

XML Processing Modules

Source code: Lib/xml/ Python’s interfaces for processing XML are grouped in the xml package. Warning The XML modules are not secure against erroneous or maliciously constructed data. If you need to parse untrusted or unauthenticated data see the XML vulnerabilities and The defusedxml and defusedexpat Packages sections. It is important to note that modules in the xml package require that there be at least one SAX-compliant XML parser available. The Expat parser is included with Python, so the

ipaddress.IPv4Network

class ipaddress.IPv4Network(address, strict=True) Construct an IPv4 network definition. address can be one of the following: A string consisting of an IP address and an optional mask, separated by a slash (/). The IP address is the network address, and the mask can be either a single number, which means it’s a prefix, or a string representation of an IPv4 address. If it’s the latter, the mask is interpreted as a net mask if it starts with a non-zero field, or as a host mask if it starts wit

email.utils.parsedate()

email.utils.parsedate(date) Attempts to parse a date according to the rules in RFC 2822. however, some mailers don’t follow that format as specified, so parsedate() tries to guess correctly in such cases. date is a string containing an RFC 2822 date, such as "Mon, 20 Nov 1995 19:12:08 -0500". If it succeeds in parsing the date, parsedate() returns a 9-tuple that can be passed directly to time.mktime(); otherwise None will be returned. Note that indexes 6, 7, and 8 of the result tuple are not

urllib.error.URLError.reason

reason The reason for this error. It can be a message string or another exception instance.