audioop.cross()

audioop.cross(fragment, width) Return the number of zero crossings in the fragment passed as an argument.

email.header.decode_header()

email.header.decode_header(header) Decode a message header value without converting the character set. The header value is in header. This function returns a list of (decoded_string, charset) pairs containing each of the decoded parts of the header. charset is None for non-encoded parts of the header, otherwise a lower case string containing the name of the character set specified in the encoded string. Here’s an example: >>> from email.header import decode_header >>> decod

smtpd.SMTPChannel.smtp_state

smtp_state Holds the current state of the channel. This will be either COMMAND initially and then DATA after the client sends a “DATA” line.

asyncio.WriteTransport.write()

write(data) Write some data bytes to the transport. This method does not block; it buffers the data and arranges for it to be sent out asynchronously.

tracemalloc.StatisticDiff.size_diff

size_diff Difference of total size of memory blocks in bytes between the old and the new snapshots (int): 0 if the memory blocks have been allocated in the new snapshot.

ipaddress.IPv4Network.with_netmask

with_netmask A string representation of the network, with the mask in net mask notation.

asyncio.StreamReader.read()

coroutine read(n=-1) Read up to n bytes. If n is not provided, or set to -1, read until EOF and return all read bytes. If the EOF was received and the internal buffer is empty, return an empty bytes object. This method is a coroutine.

sys.ps1

sys.ps1 sys.ps2 Strings specifying the primary and secondary prompt of the interpreter. These are only defined if the interpreter is in interactive mode. Their initial values in this case are '>>> ' and '... '. If a non-string object is assigned to either variable, its str() is re-evaluated each time the interpreter prepares to read a new interactive command; this can be used to implement a dynamic prompt.

inspect.getcomments()

inspect.getcomments(object) Return in a single string any lines of comments immediately preceding the object’s source code (for a class, function, or method), or at the top of the Python source file (if the object is a module).

curses.napms()

curses.napms(ms) Sleep for ms milliseconds.