tarfile.TarFile.close()

TarFile.close() Close the TarFile. In write mode, two finishing zero blocks are appended to the archive.

datetime.timedelta.total_seconds()

timedelta.total_seconds() Return the total number of seconds contained in the duration. Equivalent to td / timedelta(seconds=1). Note that for very large time intervals (greater than 270 years on most platforms) this method will lose microsecond accuracy. New in version 3.2.

tracemalloc.Snapshot.traceback_limit

traceback_limit Maximum number of frames stored in the traceback of traces: result of the get_traceback_limit() when the snapshot was taken.

tracemalloc.Frame.lineno

lineno Line number (int).

chunk.Chunk.read()

read(size=-1) Read at most size bytes from the chunk (less if the read hits the end of the chunk before obtaining size bytes). If the size argument is negative or omitted, read all data until the end of the chunk. An empty bytes object is returned when the end of the chunk is encountered immediately.

asyncio.iscoroutinefunction()

asyncio.iscoroutinefunction(func) Return True if func is determined to be a coroutine function, which may be a decorated generator function or an async def function.

textwrap.TextWrapper.fill()

fill(text) Wraps the single paragraph in text, and returns a single string containing the wrapped paragraph.

shlex.shlex.eof

shlex.eof Token used to determine end of file. This will be set to the empty string (''), in non-POSIX mode, and to None in POSIX mode.

hmac.HMAC.hexdigest()

HMAC.hexdigest() Like digest() except the digest is returned as a string twice the length containing only hexadecimal digits. This may be used to exchange the value safely in email or other non-binary environments. Warning When comparing the output of hexdigest() to an externally-supplied digest during a verification routine, it is recommended to use the compare_digest() function instead of the == operator to reduce the vulnerability to timing attacks.

binascii.a2b_hqx()

binascii.a2b_hqx(string) Convert binhex4 formatted ASCII data to binary, without doing RLE-decompression. The string should contain a complete number of binary bytes, or (in case of the last portion of the binhex4 data) have the remaining bits zero.