importlib.machinery.ExtensionFileLoader.create_module()

create_module(spec) Creates the module object from the given specification in accordance with PEP 489. New in version 3.5.

xdrlib.Unpacker.get_position()

Unpacker.get_position() Returns the current unpack position in the data buffer.

re.escape()

re.escape(string) Escape all the characters in pattern except ASCII letters, numbers and '_'. This is useful if you want to match an arbitrary literal string that may have regular expression metacharacters in it. Changed in version 3.3: The '_' character is no longer escaped.

OSError

exception OSError([arg]) exception OSError(errno, strerror[, filename[, winerror[, filename2]]]) This exception is raised when a system function returns a system-related error, including I/O failures such as “file not found” or “disk full” (not for illegal argument types or other incidental errors). The second form of the constructor sets the corresponding attributes, described below. The attributes default to None if not specified. For backwards compatibility, if three arguments are passed,

os.path.isdir()

os.path.isdir(path) Return True if path is an existing directory. This follows symbolic links, so both islink() and isdir() can be true for the same path.

importlib.machinery.ModuleSpec.name

name

urllib

Source code: Lib/urllib/ urllib is a package that collects several modules for working with URLs: urllib.request for opening and reading URLs urllib.error containing the exceptions raised by urllib.request urllib.parse for parsing URLs urllib.robotparser for parsing robots.txt files

urllib.request.HTTPErrorProcessor.https_response()

HTTPErrorProcessor.https_response() Process HTTPS error responses. The behavior is same as http_response().

imaplib.IMAP4.subscribe()

IMAP4.subscribe(mailbox) Subscribe to new mailbox.

traceback.print_tb()

traceback.print_tb(tb, limit=None, file=None) Print up to limit stack trace entries from traceback object tb (starting from the caller’s frame) if limit is positive. Otherwise, print the last abs(limit) entries. If limit is omitted or None, all entries are printed. If file is omitted or None, the output goes to sys.stderr; otherwise it should be an open file or file-like object to receive the output. Changed in version 3.5: Added negative limit support.