dbm.ndbm.error

exception dbm.ndbm.error Raised on dbm.ndbm-specific errors, such as I/O errors. KeyError is raised for general mapping errors like specifying an incorrect key.

turtle.reset()

turtle.reset() Delete the turtle’s drawings from the screen, re-center the turtle and set variables to the default values. >>> turtle.goto(0,-22) >>> turtle.left(100) >>> turtle.position() (0.00,-22.00) >>> turtle.heading() 100.0 >>> turtle.reset() >>> turtle.position() (0.00,0.00) >>> turtle.heading() 0.0

curses.panel.Panel.hidden()

Panel.hidden() Returns true if the panel is hidden (not visible), false otherwise.

operator.__not__()

operator.__not__(obj) Return the outcome of not obj. (Note that there is no __not__() method for object instances; only the interpreter core defines this operation. The result is affected by the __bool__() and __len__() methods.)

symbol.sym_name

symbol.sym_name Dictionary mapping the numeric values of the constants defined in this module back to name strings, allowing more human-readable representation of parse trees to be generated.

tkinter.ttk.Treeview.exists()

exists(item) Returns True if the specified item is present in the tree.

tokenize.open()

tokenize.open(filename) Open a file in read only mode using the encoding detected by detect_encoding(). New in version 3.2.

curses.color_pair()

curses.color_pair(color_number) Return the attribute value for displaying text in the specified color. This attribute value can be combined with A_STANDOUT, A_REVERSE, and the other A_* attributes. pair_number() is the counterpart to this function.

textwrap.TextWrapper.max_lines

max_lines (default: None) If not None, then the output will contain at most max_lines lines, with placeholder appearing at the end of the output. New in version 3.4.

turtle.hideturtle()

turtle.hideturtle() turtle.ht() Make the turtle invisible. It’s a good idea to do this while you’re in the middle of doing some complex drawing, because hiding the turtle speeds up the drawing observably. >>> turtle.hideturtle()