PR libstdc++/86112 fix printers for Python 2.6
authorJonathan Wakely <jwakely@redhat.com>
Mon, 25 Jun 2018 21:03:49 +0000 (22:03 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 25 Jun 2018 21:03:49 +0000 (22:03 +0100)
commit4fdb6fb6aebfba933ee8b07ff395d236180b5d67
treeb1fbec5b963c6bd6b76b41763ce6efb1d153d6c9
parentb36bc89e32a52ac41b6b68d834c7692b890741e6
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.

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