unittest.TestCase.assertIs()

assertIs(first, second, msg=None) assertIsNot(first, second, msg=None) Test that first and second evaluate (or don’t evaluate) to the same object. New in version 3.1.

wsgiref.handlers.BaseHandler.wsgi_file_wrapper

wsgi_file_wrapper A wsgi.file_wrapper factory, or None. The default value of this attribute is the wsgiref.util.FileWrapper class.

asynchat.async_chat.close_when_done()

async_chat.close_when_done() Pushes a None on to the producer fifo. When this producer is popped off the fifo it causes the channel to be closed.

curses.curs_set()

curses.curs_set(visibility) Set the cursor state. visibility can be set to 0, 1, or 2, for invisible, normal, or very visible. If the terminal supports the visibility requested, the previous cursor state is returned; otherwise, an exception is raised. On many terminals, the “visible” mode is an underline cursor and the “very visible” mode is a block cursor.

urllib.parse.quote_from_bytes()

urllib.parse.quote_from_bytes(bytes, safe='/') Like quote(), but accepts a bytes object rather than a str, and does not perform string-to-bytes encoding. Example: quote_from_bytes(b'a&\xef') yields 'a%26%EF'.

urllib.request.HTTPBasicAuthHandler.http_error_401()

HTTPBasicAuthHandler.http_error_401(req, fp, code, msg, hdrs) Retry the request with authentication information, if available.

tkinter.tix.DirSelectDialog

class tkinter.tix.DirSelectDialog The DirSelectDialog widget presents the directories in the file system in a dialog window. The user can use this dialog window to navigate through the file system to select the desired directory.

memoryview.contiguous

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

zipfile.ZipInfo.volume

ZipInfo.volume Volume number of file header.

smtpd.SMTPServer.channel_class

channel_class Override this in subclasses to use a custom SMTPChannel for managing SMTP clients.