re.match.lastgroup

match.lastgroup The name of the last matched capturing group, or None if the group didn’t have a name, or if no group was matched at all.

email.headerregistry.Address.display_name

display_name The display name portion of the address, if any, with all quoting removed. If the address does not have a display name, this attribute will be an empty string.

readline.read_history_file()

readline.read_history_file([filename]) Load a readline history file, and append it to the history list. The default filename is ~/.history. This calls read_history() in the underlying library.

ctypes.c_bool

class ctypes.c_bool Represent the C bool datatype (more accurately, _Bool from C99). Its value can be True or False, and the constructor accepts any object that has a truth value.

logging.Handler.removeFilter()

Handler.removeFilter(filt) Removes the specified filter filt from this handler.

smtplib.SMTP.connect()

SMTP.connect(host='localhost', port=0) Connect to a host on a given port. The defaults are to connect to the local host at the standard SMTP port (25). If the hostname ends with a colon (':') followed by a number, that suffix will be stripped off and the number interpreted as the port number to use. This method is automatically invoked by the constructor if a host is specified during instantiation. Returns a 2-tuple of the response code and message sent by the server in its connection respon

pathlib.PurePath.stem

PurePath.stem The final path component, without its suffix: >>> PurePosixPath('my/library.tar.gz').stem 'library.tar' >>> PurePosixPath('my/library.tar').stem 'library' >>> PurePosixPath('my/library').stem 'library'

str.split()

str.split(sep=None, maxsplit=-1) Return a list of the words in the string, using sep as the delimiter string. If maxsplit is given, at most maxsplit splits are done (thus, the list will have at most maxsplit+1 elements). If maxsplit is not specified or -1, then there is no limit on the number of splits (all possible splits are made). If sep is given, consecutive delimiters are not grouped together and are deemed to delimit empty strings (for example, '1,,2'.split(',') returns ['1', '', '2'])

tarfile.TarInfo.frombuf()

classmethod TarInfo.frombuf(buf, encoding, errors) Create and return a TarInfo object from string buffer buf. Raises HeaderError if the buffer is invalid.

tarfile.TarInfo.isblk()

TarInfo.isblk() Return True if it is a block device.