]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Correctly call _string_types function
authorTom Tromey <tromey@adacore.com>
Wed, 4 Oct 2023 14:59:47 +0000 (08:59 -0600)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 13 Nov 2023 15:18:10 +0000 (15:18 +0000)
commitd91ef8b438ca2ad7bc08fc7adea0572057e35593
tree95152f29894c00eaa32f63b39ff36c3ffae3805a
parentd095aa6e96ab283e671ec453627705b7a4821d58
libstdc++: Correctly call _string_types function

flake8 points out that the new call to _string_types from
StdExpAnyPrinter.__init__ is not correct -- it needs to be qualified.

libstdc++-v3/ChangeLog:

* python/libstdcxx/v6/printers.py
(StdExpAnyPrinter.__init__): Qualify call to
_string_types.

(cherry picked from commit 4bf77db70e2521dc89f9d7f51c7ae6e58a94b4f9)
libstdc++-v3/python/libstdcxx/v6/printers.py