Tweak formatting and docs for pretty printers
authorJonathan Wakely <jwakely@redhat.com>
Thu, 15 Dec 2016 12:45:47 +0000 (12:45 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 15 Dec 2016 12:45:47 +0000 (12:45 +0000)
commit7224c6a997c32d3b4f7a2a22d27459ca58ee2587
tree1ab1f1e0dcd65298cbc482e761ad660b09dfa94d
parent0376e86bfc9cbf1fe7b15be65d4f8e183da6484a
Tweak formatting and docs for pretty printers

* python/libstdcxx/v6/printers.py (UniquePointerPrinter.to_string):
Remove redundant parentheses.
(RbtreeIterator, StdRbtreeIteratorPrinter): Add docstrings.
(StdForwardListPrinter.to_string): Remove redundant parentheses.
(StdExpOptionalPrinter.to_string): Use string formatting instead of
concatenation.
(StdVariantPrinter.to_string, StdNodeHandlePrinter.to_string)
(TemplateTypePrinter): Adjust whitespace.

From-SVN: r243689
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py