]> git.ipfire.org Git - thirdparty/gcc.git/commit
Tweak formatting and docs for pretty printers
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Dec 2016 12:45:47 +0000 (12:45 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Dec 2016 12:45:47 +0000 (12:45 +0000)
commit1dc84a99267eb2536b1414d694db0fb0d26b3dc5
tree1ab1f1e0dcd65298cbc482e761ad660b09dfa94d
parentac98398ddc2e5156dee3e820ba95116280b999c3
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243689 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py