summaryrefslogtreecommitdiff
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2016-09-08 13:47:41 -0700
committerGregory P. Smith <greg@krypto.org>2016-09-08 13:47:41 -0700
commit89b185481a16054baec15dc0056afe2f58f781ec (patch)
tree69547afc94a1c6ceafe6887e9eae357dbfaf1dd6 /Tools/gdb/libpython.py
parent831759a737d7eeb8385669fa1c9467ed850a8a92 (diff)
downloadcpython-89b185481a16054baec15dc0056afe2f58f781ec.tar.gz
Remove legacy "from __future__ import with_statement" lines.
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-xTools/gdb/libpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 75f1ccbd44..3e95b4441d 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -44,7 +44,7 @@ The module also extends gdb with some python-specific commands.
# NOTE: some gdbs are linked with Python 3, so this file should be dual-syntax
# compatible (2.6+ and 3.0+). See #19308.
-from __future__ import print_function, with_statement
+from __future__ import print_function
import gdb
import os
import locale