xml.parsers.expat.errors.messages

xml.parsers.expat.errors.messages A dictionary mapping string descriptions to their error codes. New in version 3.2.

curses.window.touchline()

window.touchline(start, count[, changed]) Pretend count lines have been changed, starting with line start. If changed is supplied, it specifies whether the affected lines are marked as having been changed (changed=1) or unchanged (changed=0).

dbm.gnu.open()

dbm.gnu.open(filename[, flag[, mode]]) Open a gdbm database and return a gdbm object. The filename argument is the name of the database file. The optional flag argument can be: Value Meaning 'r' Open existing database for reading only (default) 'w' Open existing database for reading and writing 'c' Open database for reading and writing, creating it if it doesn’t exist 'n' Always create a new, empty database, open for reading and writing The following additional characters may be appended t

gettext.ldngettext()

gettext.ldngettext(domain, singular, plural, n) Equivalent to dngettext(), but the translation is returned in the preferred system encoding, if no other encoding was explicitly set with bind_textdomain_codeset().

types.ModuleType.__loader__

__loader__ The loader which loaded the module. Defaults to None. Changed in version 3.4: Defaults to None. Previously the attribute was optional.

readline.get_history_length()

readline.get_history_length() readline.set_history_length(length) Set or return the desired number of lines to save in the history file. The write_history_file() function uses this value to truncate the history file, by calling history_truncate_file() in the underlying library. Negative values imply unlimited history file size.

turtle.bgcolor()

turtle.bgcolor(*args) Parameters: args – a color string or three numbers in the range 0..colormode or a 3-tuple of such numbers Set or return background color of the TurtleScreen. >>> screen.bgcolor("orange") >>> screen.bgcolor() 'orange' >>> screen.bgcolor("#800080") >>> screen.bgcolor() (128.0, 0.0, 128.0)

traceback.format_stack()

traceback.format_stack(f=None, limit=None) A shorthand for format_list(extract_stack(f, limit)).

xdrlib.Packer.pack_bytes()

Packer.pack_bytes(bytes) Packs a variable length byte stream, similarly to pack_string().

logging.handlers.SocketHandler.handleError()

handleError() Handles an error which has occurred during emit(). The most likely cause is a lost connection. Closes the socket so that we can retry on the next event.