types.MethodType

types.MethodType The type of methods of user-defined class instances.

socketserver.BaseServer.shutdown()

shutdown() Tell the serve_forever() loop to stop and wait until it does.

ctypes.c_int

class ctypes.c_int Represents the C signed int datatype. The constructor accepts an optional integer initializer; no overflow checking is done. On platforms where sizeof(int) == sizeof(long) it is an alias to c_long.

calendar.timegm()

calendar.timegm(tuple) An unrelated but handy function that takes a time tuple such as returned by the gmtime() function in the time module, and returns the corresponding Unix timestamp value, assuming an epoch of 1970, and the POSIX encoding. In fact, time.gmtime() and timegm() are each others’ inverse.

The concurrent package

Currently, there is only one module in this package: concurrent.futures – Launching parallel tasks

smtplib.SMTP.quit()

SMTP.quit() Terminate the SMTP session and close the connection. Return the result of the SMTP QUIT command.

curses.panel.Panel.top()

Panel.top() Push panel to the top of the stack.

curses.mousemask()

curses.mousemask(mousemask) Set the mouse events to be reported, and return a tuple (availmask, oldmask). availmask indicates which of the specified mouse events can be reported; on complete failure it returns 0. oldmask is the previous value of the given window’s mouse event mask. If this function is never called, no mouse events are ever reported.

wave.Wave_write.tell()

Wave_write.tell() Return current position in the file, with the same disclaimer for the Wave_read.tell() and Wave_read.setpos() methods.

ResourceWarning

exception ResourceWarning Base class for warnings related to resource usage. New in version 3.2.