weakref.WeakKeyDictionary

class weakref.WeakKeyDictionary([dict]) Mapping class that references keys weakly. Entries in the dictionary will be discarded when there is no longer a strong reference to the key. This can be used to associate additional data with an object owned by other parts of an application without adding attributes to those objects. This can be especially useful with objects that override attribute accesses. Note Caution: Because a WeakKeyDictionary is built on top of a Python dictionary, it must no

curses.initscr()

curses.initscr() Initialize the library. Return a WindowObject which represents the whole screen. Note If there is an error opening the terminal, the underlying curses library may cause the interpreter to exit.

aifc.aifc.setpos()

aifc.setpos(pos) Seek to the specified frame number.

wsgiref.handlers.BaseHandler.server_software

server_software If the origin_server attribute is set, this attribute’s value is used to set the default SERVER_SOFTWARE WSGI environment variable, and also to set a default Server: header in HTTP responses. It is ignored for handlers (such as BaseCGIHandler and CGIHandler) that are not HTTP origin servers. Changed in version 3.3: The term “Python” is replaced with implementation specific term like “CPython”, “Jython” etc.

shelve.Shelf.sync()

Shelf.sync() Write back all entries in the cache if the shelf was opened with writeback set to True. Also empty the cache and synchronize the persistent dictionary on disk, if feasible. This is called automatically when the shelf is closed with close().

io.FileIO.mode

mode The mode as given in the constructor.

locale.Error

exception locale.Error Exception raised when the locale passed to setlocale() is not recognized.

xml.sax.xmlreader.XMLReader.getErrorHandler()

XMLReader.getErrorHandler() Return the current ErrorHandler.

collections.somenamedtuple._source

somenamedtuple._source A string with the pure Python source code used to create the named tuple class. The source makes the named tuple self-documenting. It can be printed, executed using exec(), or saved to a file and imported. New in version 3.3.

mailbox.MaildirMessage.add_flag()

add_flag(flag) Set the flag(s) specified by flag without changing other flags. To add more than one flag at a time, flag may be a string of more than one character. The current “info” is overwritten whether or not it contains experimental information rather than flags.