* python/lib/gdb/printing.py (register_pretty_printer): Add missing

entry for RuntimeError to doc string.
This commit is contained in:
Doug Evans 2011-05-23 17:38:06 +00:00
parent 2067c8d4a8
commit 6d64e6d477
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-05-23 Doug Evans <dje@google.com>
* python/lib/gdb/printing.py (register_pretty_printer): Add missing
entry for RuntimeError to doc string.
2011-05-23 Jerome Guitton <guitton@adacore.com>
* sparc-tdep.c (sparc_skip_stack_check): Recognize a new instruction

View File

@ -86,6 +86,7 @@ def register_pretty_printer(obj, printer):
Raises:
TypeError: A problem with the type of the printer.
ValueError: The printer's name contains a semicolon ";".
RuntimeError: A printer with the same name is already registered.
If the caller wants the printer to be listable and disableable, it must
follow the PrettyPrinter API. This applies to the old way (functions) too.