* python/lib/gdb/printing.py: Whitespace cleanup.

This commit is contained in:
Doug Evans 2011-10-07 22:25:57 +00:00
parent 749fd4eab6
commit 690a49373c
2 changed files with 13 additions and 9 deletions

View file

@ -1,5 +1,7 @@
2011-10-07 Doug Evans <dje@google.com>
* python/lib/gdb/printing.py: Whitespace cleanup.
* python/py-value.c (valpy_call): Initialize ftype to avoid compiler
warning.

View file

@ -72,7 +72,9 @@ def register_pretty_printer(obj, printer):
"""Register pretty-printer PRINTER with OBJ.
The printer is added to the front of the search list, thus one can override
an existing printer if one needs to.
an existing printer if one needs to. Use a different name when overriding
an existing printer, otherwise an exception will be raised; multiple
printers with the same name are disallowed.
Arguments:
obj: Either an objfile, progspace, or None (in which case the printer