xml.dom.Node.replaceChild()

Node.replaceChild(newChild, oldChild) Replace an existing node with a new node. It must be the case that oldChild is a child of this node; if not, ValueError is raised.

configparser.RawConfigParser.add_section()

add_section(section) Add a section named section to the instance. If a section by the given name already exists, DuplicateSectionError is raised. If the default section name is passed, ValueError is raised. Type of section is not checked which lets users create non-string named sections. This behaviour is unsupported and may cause internal errors.

decimal.Context.logical_or()

logical_or(x, y) Applies the logical operation or between each operand’s digits.

nntplib.NNTP.newnews()

NNTP.newnews(group, date, *, file=None) Send a NEWNEWS command. Here, group is a group name or '*', and date has the same meaning as for newgroups(). Return a pair (response, articles) where articles is a list of message ids. This command is frequently disabled by NNTP server administrators.

io.open()

io.open(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None) This is an alias for the builtin open() function.

inspect.Parameter.annotation

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

re.purge()

re.purge() Clear the regular expression cache.

nntplib.NNTP.getcapabilities()

NNTP.getcapabilities() Return the RFC 3977 capabilities advertised by the server, as a dict instance mapping capability names to (possibly empty) lists of values. On legacy servers which don’t understand the CAPABILITIES command, an empty dictionary is returned instead. >>> s = NNTP('news.gmane.org') >>> 'POST' in s.getcapabilities() True New in version 3.2.

tkinter.tix.DirList

class tkinter.tix.DirList The DirList widget displays a list view of a directory, its previous directories and its sub-directories. The user can choose one of the directories displayed in the list or change to another directory.

lzma.LZMACompressor

class lzma.LZMACompressor(format=FORMAT_XZ, check=-1, preset=None, filters=None) Create a compressor object, which can be used to compress data incrementally. For a more convenient way of compressing a single chunk of data, see compress(). The format argument specifies what container format should be used. Possible values are: FORMAT_XZ: The .xz container format. This is the default format. FORMAT_ALONE: The legacy .lzma container format. This format is more limited than .xz – it d