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.

nntplib.NNTPReplyError

exception nntplib.NNTPReplyError Exception raised when an unexpected reply is received from the server.

nntplib.NNTP.head()

NNTP.head(message_spec=None, *, file=None) Same as article(), but sends a HEAD command. The lines returned (or written to file) will only contain the message headers, not the body.

email.message.Message.set_default_type()

set_default_type(ctype) Set the default content type. ctype should either be text/plain or message/rfc822, although this is not enforced. The default content type is not stored in the Content-Type header.