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

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.

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.

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.

importlib.machinery.SourceFileLoader.load_module()

load_module(name=None) Concrete implementation of importlib.abc.Loader.load_module() where specifying the name of the module to load is optional.

socket.socket.getsockname()

socket.getsockname() Return the socket’s own address. This is useful to find out the port number of an IPv4/v6 socket, for instance. (The format of the address returned depends on the address family — see above.)

multiprocessing.SimpleQueue.get()

get() Remove and return an item from the queue.