Remove some Python 2 code
authorTom Tromey <tromey@adacore.com>
Tue, 13 Jun 2023 18:51:55 +0000 (12:51 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 28 Jun 2023 15:02:56 +0000 (09:02 -0600)
commit1d2ee87e604319cf6b5ad9934e2bb18cbdc63e1b
tree42b31f5eae01ed69550f01716367223024ae4d05
parentb25c1a15cbac78e592d7a0c749dec2fcc175ec39
Remove some Python 2 code

I found some Python 2 compatibility code in gdb's Python library.
There's no need for this any more, so this removes it.  There is still
a bit more of this remaining in __init__.py, but I haven't tried
removing that yet.

Reviewed-By: Bruno Larsen <blarsen@redhat.com>
gdb/python/lib/gdb/FrameIterator.py
gdb/python/lib/gdb/frames.py