PR libstdc++/86112 fix printers for Python 2.6
commit63d7b06412bf447e37890e66009365c3660a8da1
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jun 2018 21:03:49 +0000 (25 21:03 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Jun 2018 21:03:49 +0000 (25 21:03 +0000)
treeb1fbec5b963c6bd6b76b41763ce6efb1d153d6c9
parent819a85a88230d78bfce41cd6a327a5f974cc686d
PR libstdc++/86112 fix printers for Python 2.6

Dict comprehensions are only supported since Python 2.7, so use an
alternative syntax that is backwards compatible.

PR libstdc++/86112
* python/libstdcxx/v6/printers.py (add_one_template_type_printer):
Replace dict comprehension.

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