decimal.Context.is_canonical()

is_canonical(x) Returns True if x is canonical; otherwise returns False.

logging.FileHandler.close()

close() Closes the file.

difflib.SequenceMatcher.quick_ratio()

quick_ratio() Return an upper bound on ratio() relatively quickly.

signal.pause()

signal.pause() Cause the process to sleep until a signal is received; the appropriate handler will then be called. Returns nothing. Not on Windows. (See the Unix man page signal(2).) See also sigwait(), sigwaitinfo(), sigtimedwait() and sigpending().

zipfile.ZipFile.setpassword()

ZipFile.setpassword(pwd) Set pwd as default password to extract encrypted files.

curses.doupdate()

curses.doupdate() Update the physical screen. The curses library keeps two data structures, one representing the current physical screen contents and a virtual screen representing the desired next state. The doupdate() ground updates the physical screen to match the virtual screen. The virtual screen may be updated by a noutrefresh() call after write operations such as addstr() have been performed on a window. The normal refresh() call is simply noutrefresh() followed by doupdate(); if you h

abs()

abs(x) Return the absolute value of a number. The argument may be an integer or a floating point number. If the argument is a complex number, its magnitude is returned.

curses.window.addnstr()

window.addnstr(str, n[, attr]) window.addnstr(y, x, str, n[, attr]) Paint at most n characters of the string str at (y, x) with attributes attr, overwriting anything previously on the display.

code.InteractiveInterpreter.showsyntaxerror()

InteractiveInterpreter.showsyntaxerror(filename=None) Display the syntax error that just occurred. This does not display a stack trace because there isn’t one for syntax errors. If filename is given, it is stuffed into the exception instead of the default filename provided by Python’s parser, because it always uses '<string>' when reading from a string. The output is written by the write() method.

gc.collect()

gc.collect(generations=2) With no arguments, run a full collection. The optional argument generation may be an integer specifying which generation to collect (from 0 to 2). A ValueError is raised if the generation number is invalid. The number of unreachable objects found is returned. The free lists maintained for a number of built-in types are cleared whenever a full collection or collection of the highest generation (2) is run. Not all items in some free lists may be freed due to the parti