tarfile.is_tarfile()

tarfile.is_tarfile(name) Return True if name is a tar archive file, that the tarfile module can read.

codecs.backslashreplace_errors()

codecs.backslashreplace_errors(exception) Implements the 'backslashreplace' error handling (for text encodings only): malformed data is replaced by a backslashed escape sequence.

asyncio.AbstractEventLoop.get_exception_handler()

AbstractEventLoop.get_exception_handler() Return the exception handler, or None if the default one is in use. New in version 3.5.2.

urllib.parse.urlparse()

urllib.parse.urlparse(urlstring, scheme='', allow_fragments=True) Parse a URL into six components, returning a 6-tuple. This corresponds to the general structure of a URL: scheme://netloc/path;parameters?query#fragment. Each tuple item is a string, possibly empty. The components are not broken up in smaller parts (for example, the network location is a single string), and % escapes are not expanded. The delimiters as shown above are not part of the result, except for a leading slash in the p

ipaddress.IPv4Address.version

version The appropriate version number: 4 for IPv4, 6 for IPv6.

curses.newpad()

curses.newpad(nlines, ncols) Create and return a pointer to a new pad data structure with the given number of lines and columns. A pad is returned as a window object. A pad is like a window, except that it is not restricted by the screen size, and is not necessarily associated with a particular part of the screen. Pads can be used when a large window is needed, and only a part of the window will be on the screen at one time. Automatic refreshes of pads (such as from scrolling or echoing of i

unittest.TestResult.addFailure()

addFailure(test, err) Called when the test case test signals a failure. err is a tuple of the form returned by sys.exc_info(): (type, value, traceback). The default implementation appends a tuple (test, formatted_err) to the instance’s failures attribute, where formatted_err is a formatted traceback derived from err.

uuid.UUID.variant

UUID.variant The UUID variant, which determines the internal layout of the UUID. This will be one of the integer constants RESERVED_NCS, RFC_4122, RESERVED_MICROSOFT, or RESERVED_FUTURE.

asyncio.BaseProtocol.resume_writing()

BaseProtocol.resume_writing() Called when the transport’s buffer drains below the low-water mark.

turtle.clear()

turtle.clear() Delete the turtle’s drawings from the screen. Do not move turtle. State and position of the turtle as well as drawings of other turtles are not affected.