xml.etree.ElementTree.TreeBuilder.close()

close() Flushes the builder buffers, and returns the toplevel document element. Returns an Element instance.

asyncore.dispatcher.connect()

connect(address) As with the normal socket object, address is a tuple with the first element the host to connect to, and the second the port number.

os.setxattr()

os.setxattr(path, attribute, value, flags=0, *, follow_symlinks=True) Set the extended filesystem attribute attribute on path to value. attribute must be a bytes or str with no embedded NULs. If it is a str, it is encoded with the filesystem encoding. flags may be XATTR_REPLACE or XATTR_CREATE. If XATTR_REPLACE is given and the attribute does not exist, EEXISTS will be raised. If XATTR_CREATE is given and the attribute already exists, the attribute will not be created and ENODATA will be rai

asyncio.SubprocessProtocol.process_exited()

SubprocessProtocol.process_exited() Called when the child process has exited.

multiprocessing.managers.SyncManager.Event()

Event() Create a shared threading.Event object and return a proxy for it.

os.environb

os.environb Bytes version of environ: a mapping object representing the environment as byte strings. environ and environb are synchronized (modify environb updates environ, and vice versa). environb is only available if supports_bytes_environ is True. New in version 3.2.

filter()

filter(function, iterable) Construct an iterator from those elements of iterable for which function returns true. iterable may be either a sequence, a container which supports iteration, or an iterator. If function is None, the identity function is assumed, that is, all elements of iterable that are false are removed. Note that filter(function, iterable) is equivalent to the generator expression (item for item in iterable if function(item)) if function is not None and (item for item in itera

doctest.DocTestRunner.report_success()

report_success(out, test, example, got) Report that the given example ran successfully. This method is provided to allow subclasses of DocTestRunner to customize their output; it should not be called directly. example is the example about to be processed. got is the actual output from the example. test is the test containing example. out is the output function that was passed to DocTestRunner.run().

decimal.Context.add()

add(x, y) Return the sum of x and y.

pathlib.PurePath.as_posix()

PurePath.as_posix() Return a string representation of the path with forward slashes (/): >>> p = PureWindowsPath('c:\\windows') >>> str(p) 'c:\\windows' >>> p.as_posix() 'c:/windows'