_thread.interrupt_main()

_thread.interrupt_main() Raise a KeyboardInterrupt exception in the main thread. A subthread can use this function to interrupt the main thread.

typing.Container

class typing.Container(Generic[T_co]) A generic version of collections.abc.Container.

mailbox.Babyl.lock()

lock() unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf() system calls.

http.client.HTTPResponse.getheader()

HTTPResponse.getheader(name, default=None) Return the value of the header name, or default if there is no header matching name. If there is more than one header with the name name, return all of the values joined by ‘, ‘. If ‘default’ is any iterable other than a single string, its elements are similarly returned joined by commas.

sqlite3.Connection.commit()

commit() This method commits the current transaction. If you don’t call this method, anything you did since the last call to commit() is not visible from other database connections. If you wonder why you don’t see the data you’ve written to the database, please check you didn’t forget to call this method.

ctypes.Array._length_

_length_ A positive integer specifying the number of elements in the array. Out-of-range subscripts result in an IndexError. Will be returned by len().

memoryview.f_contiguous

f_contiguous A bool indicating whether the memory is Fortran contiguous. New in version 3.3.

email.headerregistry.MIMEVersionHeader.major

major The major version number as an integer

webbrowser.controller.open()

controller.open(url, new=0, autoraise=True) Display url using the browser handled by this controller. If new is 1, a new browser window is opened if possible. If new is 2, a new browser page (“tab”) is opened if possible.

cmd.Cmd.default()

Cmd.default(line) Method called on an input line when the command prefix is not recognized. If this method is not overridden, it prints an error message and returns.