codecs.StreamReaderWriter

class codecs.StreamReaderWriter(stream, Reader, Writer, errors) Creates a StreamReaderWriter instance. stream must be a file-like object. Reader and Writer must be factory functions or classes providing the StreamReader and StreamWriter interface resp. Error handling is done in the same way as defined for the stream readers and writers.

zipfile.ZipFile.getinfo()

ZipFile.getinfo(name) Return a ZipInfo object with information about the archive member name. Calling getinfo() for a name not currently contained in the archive will raise a KeyError.

curses.window.move()

window.move(new_y, new_x) Move cursor to (new_y, new_x).

MemoryError

exception MemoryError Raised when an operation runs out of memory but the situation may still be rescued (by deleting some objects). The associated value is a string indicating what kind of (internal) operation ran out of memory. Note that because of the underlying memory management architecture (C’s malloc() function), the interpreter may not always be able to completely recover from this situation; it nevertheless raises an exception so that a stack traceback can be printed, in case a run-

csv.csvreader.fieldnames

csvreader.fieldnames If not passed as a parameter when creating the object, this attribute is initialized upon first access or when the first record is read from the file.

memoryview()

memoryview(obj) Return a “memory view” object created from the given argument. See Memory Views for more information.

select.kevent.data

kevent.data Filter specific data.

importlib.machinery.ModuleSpec.loader_state

loader_state

abc.ABCMeta.register()

register(subclass) Register subclass as a “virtual subclass” of this ABC. For example: from abc import ABCMeta class MyABC(metaclass=ABCMeta): pass MyABC.register(tuple) assert issubclass(tuple, MyABC) assert isinstance((), MyABC) Changed in version 3.3: Returns the registered subclass, to allow usage as a class decorator. Changed in version 3.4: To detect calls to register(), you can use the get_cache_token() function.

bdb.Bdb.dispatch_line()

dispatch_line(frame) If the debugger should stop on the current line, invoke the user_line() method (which should be overridden in subclasses). Raise a BdbQuit exception if the Bdb.quitting flag is set (which can be set from user_line()). Return a reference to the trace_dispatch() method for further tracing in that scope.