mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
![]() Some curses module-level functions and window methods now raise
a `curses.error` when a call to a C curses function fails:
- Module-level functions: assume_default_colors, baudrate, cbreak,
echo, longname, initscr, nl, raw, termattrs, termname, and unctrl.
- Window methods: addch, addnstr, addstr, border, box, chgat,
getbkgd, inch, insstr, and insnstr.
In addition, `curses.window.refresh` and `curses.window.noutrefresh`
now raise a `TypeError` instead of a `curses.error` when called with an
incorrect number of arguments for pads.
See also
|
||
---|---|---|
.. | ||
annotations.rst | ||
argparse-optparse.rst | ||
argparse.rst | ||
clinic.rst | ||
cporting.rst | ||
curses.rst | ||
descriptor.rst | ||
enum.rst | ||
free-threading-extensions.rst | ||
free-threading-python.rst | ||
functional.rst | ||
gdb_helpers.rst | ||
index.rst | ||
instrumentation.rst | ||
ipaddress.rst | ||
isolating-extensions.rst | ||
logging-cookbook.rst | ||
logging.rst | ||
logging_flow.png | ||
logging_flow.svg | ||
mro.rst | ||
perf_profiling.rst | ||
pyporting.rst | ||
regex.rst | ||
remote_debugging.rst | ||
sockets.rst | ||
sorting.rst | ||
timerfd.rst | ||
unicode.rst | ||
urllib2.rst |