asyncio.IncompleteReadError

exception asyncio.IncompleteReadError Incomplete read error, subclass of EOFError. expected Total number of expected bytes (int). partial Read bytes string before the end of stream was reached (bytes).

sqlite3.Cursor.close()

close() Close the cursor now (rather than whenever __del__ is called). The cursor will be unusable from this point forward; a ProgrammingError exception will be raised if any operation is attempted with the cursor.

logging.Logger.getEffectiveLevel()

Logger.getEffectiveLevel() Indicates the effective level for this logger. If a value other than NOTSET has been set using setLevel(), it is returned. Otherwise, the hierarchy is traversed towards the root until a value other than NOTSET is found, and that value is returned. The value returned is an integer, typically one of logging.DEBUG, logging.INFO etc.

importlib.abc.SourceLoader.get_code()

get_code(fullname) Concrete implementation of InspectLoader.get_code().

fnmatch.translate()

fnmatch.translate(pattern) Return the shell-style pattern converted to a regular expression. Example: >>> import fnmatch, re >>> >>> regex = fnmatch.translate('*.txt') >>> regex '.*\\.txt\\Z(?ms)' >>> reobj = re.compile(regex) >>> reobj.match('foobar.txt') <_sre.SRE_Match object; span=(0, 10), match='foobar.txt'>

wsgiref.handlers.BaseHandler._flush()

_flush() Force buffered data to be transmitted to the client. It’s okay if this method is a no-op (i.e., if _write() actually sends the data).

logging.makeLogRecord()

logging.makeLogRecord(attrdict) Creates and returns a new LogRecord instance whose attributes are defined by attrdict. This function is useful for taking a pickled LogRecord attribute dictionary, sent over a socket, and reconstituting it as a LogRecord instance at the receiving end.

asyncio.asyncio.subprocess.Process.returncode

returncode Return code of the process when it exited. A None value indicates that the process has not terminated yet. A negative value -N indicates that the child was terminated by signal N (Unix only).

importlib.abc.Loader.module_repr()

module_repr(module) A legacy method which when implemented calculates and returns the given module’s repr, as a string. The module type’s default repr() will use the result of this method as appropriate. New in version 3.3. Changed in version 3.4: Made optional instead of an abstractmethod. Deprecated since version 3.4: The import machinery now takes care of this automatically.

binascii.a2b_hex()

binascii.a2b_hex(hexstr) binascii.unhexlify(hexstr) Return the binary data represented by the hexadecimal string hexstr. This function is the inverse of b2a_hex(). hexstr must contain an even number of hexadecimal digits (which can be upper or lower case), otherwise an Error exception is raised.