io.BufferedIOBase.readinto()

readinto(b) Read bytes into a pre-allocated, writable bytes-like object b and return the number of bytes read. Like read(), multiple reads may be issued to the underlying raw stream, unless the latter is interactive. A BlockingIOError is raised if the underlying raw stream is in non blocking-mode, and has no data available at the moment.

urllib.request.FancyURLopener.prompt_user_passwd()

prompt_user_passwd(host, realm) Return information needed to authenticate the user at the given host in the specified security realm. The return value should be a tuple, (user, password), which can be used for basic authentication. The implementation prompts for this information on the terminal; an application should override this method to use an appropriate interaction model in the local environment.

xml.sax.xmlreader.IncrementalParser.feed()

IncrementalParser.feed(data) Process a chunk of data.

textwrap.TextWrapper.placeholder

placeholder (default: ' [...]') String that will appear at the end of the output text if it has been truncated. New in version 3.4.

http.client.HTTPResponse.getheaders()

HTTPResponse.getheaders() Return a list of (header, value) tuples.

logging.Logger.getChild()

Logger.getChild(suffix) Returns a logger which is a descendant to this logger, as determined by the suffix. Thus, logging.getLogger('abc').getChild('def.ghi') would return the same logger as would be returned by logging.getLogger('abc.def.ghi'). This is a convenience method, useful when the parent logger is named using e.g. __name__ rather than a literal string. New in version 3.2.

mailbox.BabylMessage.remove_label()

remove_label(label) Remove label from the list of labels on the message.

http.HTTPStatus

class http.HTTPStatus New in version 3.5. A subclass of enum.IntEnum that defines a set of HTTP status codes, reason phrases and long descriptions written in English. Usage: >>> from http import HTTPStatus >>> HTTPStatus.OK <HTTPStatus.OK: 200> >>> HTTPStatus.OK == 200 True >>> http.HTTPStatus.OK.value 200 >>> HTTPStatus.OK.phrase 'OK' >>> HTTPStatus.OK.description 'Request fulfilled, document follows' >>> list(HTTPStatus

xml.dom.Node.isSameNode()

Node.isSameNode(other) Returns true if other refers to the same node as this node. This is especially useful for DOM implementations which use any sort of proxy architecture (because more than one object can refer to the same node). Note This is based on a proposed DOM Level 3 API which is still in the “working draft” stage, but this particular interface appears uncontroversial. Changes from the W3C will not necessarily affect this method in the Python DOM interface (though any new W3C API

bytearray.islower()

bytearray.islower() Return true if there is at least one lowercase ASCII character in the sequence and no uppercase ASCII characters, false otherwise. For example: >>> b'hello world'.islower() True >>> b'Hello world'.islower() False Lowercase ASCII characters are those byte values in the sequence b'abcdefghijklmnopqrstuvwxyz'. Uppercase ASCII characters are those byte values in the sequence b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.