sys.__excepthook__

sys.__excepthook__ These objects contain the original values of displayhook and excepthook at the start of the program. They are saved so that displayhook and excepthook can be restored in case they happen to get replaced with broken objects.

xml.etree.ElementTree.XMLParser.doctype()

doctype(name, pubid, system) Deprecated since version 3.2: Define the TreeBuilder.doctype() method on a custom TreeBuilder target.

http.cookiejar.LWPCookieJar

class http.cookiejar.LWPCookieJar(filename, delayload=None, policy=None) A FileCookieJar that can load from and save cookies to disk in format compatible with the libwww-perl library’s Set-Cookie3 file format. This is convenient if you want to store cookies in a human-readable file.

winreg.PyHKEY.Detach()

PyHKEY.Detach() Detaches the Windows handle from the handle object. The result is an integer that holds the value of the handle before it is detached. If the handle is already detached or closed, this will return zero. After calling this function, the handle is effectively invalidated, but the handle is not closed. You would call this function when you need the underlying Win32 handle to exist beyond the lifetime of the handle object.

tkinter.tix.ListNoteBook

class tkinter.tix.ListNoteBook The ListNoteBook widget is very similar to the TixNoteBook widget: it can be used to display many windows in a limited space using a notebook metaphor. The notebook is divided into a stack of pages (windows). At one time only one of these pages can be shown. The user can navigate through these pages by choosing the name of the desired page in the hlist subwidget.

http.cookiejar.Cookie

class http.cookiejar.Cookie This class represents Netscape, RFC 2109 and RFC 2965 cookies. It is not expected that users of http.cookiejar construct their own Cookie instances. Instead, if necessary, call make_cookies() on a CookieJar instance.

tkinter.tix.LabelEntry

class tkinter.tix.LabelEntry The LabelEntry widget packages an entry widget and a label into one mega widget. It can be used to simplify the creation of “entry-form” type of interface.

bdb.Bdb.user_line()

user_line(frame) This method is called from dispatch_line() when either stop_here() or break_here() yields True.

curses.window.insertln()

window.insertln() Insert a blank line under the cursor. All following lines are moved down by one line.

pathlib.Path.write_text()

Path.write_text(data, encoding=None, errors=None) Open the file pointed to in text mode, write data to it, and close the file: >>> p = Path('my_text_file') >>> p.write_text('Text file contents') 18 >>> p.read_text() 'Text file contents' New in version 3.5.