dbm.gnu.gdbm.reorganize()

gdbm.reorganize() If you have carried out a lot of deletions and would like to shrink the space used by the gdbm file, this routine will reorganize the database. gdbm objects will not shorten the length of a database file except by using this reorganization; otherwise, deleted file space will be kept and reused as new (key, value) pairs are added.

shlex.shlex.sourcehook()

shlex.sourcehook(filename) When shlex detects a source request (see source below) this method is given the following token as argument, and expected to return a tuple consisting of a filename and an open file-like object. Normally, this method first strips any quotes off the argument. If the result is an absolute pathname, or there was no previous source request in effect, or the previous source was a stream (such as sys.stdin), the result is left alone. Otherwise, if the result is a relativ

xml.sax.xmlreader.XMLReader.setDTDHandler()

XMLReader.setDTDHandler(handler) Set the current DTDHandler. If no DTDHandler is set, DTD events will be discarded.

bytes.isdigit()

bytes.isdigit() bytearray.isdigit() Return true if all bytes in the sequence are ASCII decimal digits and the sequence is not empty, false otherwise. ASCII decimal digits are those byte values in the sequence b'0123456789'. For example: >>> b'1234'.isdigit() True >>> b'1.23'.isdigit() False

fractions.Fraction.denominator

denominator Denominator of the Fraction in lowest term.

asyncio.StreamReader.readexactly()

coroutine readexactly(n) Read exactly n bytes. Raise an IncompleteReadError if the end of the stream is reached before n can be read, the IncompleteReadError.partial attribute of the exception contains the partial read bytes. This method is a coroutine.

email.message.Message.defects

defects The defects attribute contains a list of all the problems found when parsing this message. See email.errors for a detailed description of the possible parsing defects.

typing.MutableSequence

class typing.MutableSequence(Sequence[T]) A generic version of collections.abc.MutableSequence.

array.array.frombytes()

array.frombytes(s) Appends items from the string, interpreting the string as an array of machine values (as if it had been read from a file using the fromfile() method). New in version 3.2: fromstring() is renamed to frombytes() for clarity.

asyncore.dispatcher.close()

close() Close the socket. All future operations on the socket object will fail. The remote end-point will receive no more data (after queued data is flushed). Sockets are automatically closed when they are garbage-collected.