summaryrefslogtreecommitdiff
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-14 08:54:40 +0000
committerGeorg Brandl <georg@python.org>2010-07-14 08:54:40 +0000
commitb639c14c32a737224382bfc5a690e0c05766e090 (patch)
tree4f4f24a411309a92c5253bd3eef03f73a271ba26 /Tools/gdb/libpython.py
parentb0eb5da018785ca384679b990b8548338883c645 (diff)
downloadcpython-git-b639c14c32a737224382bfc5a690e0c05766e090.tar.gz
#9235: fix missing import of sys.
Diffstat (limited to 'Tools/gdb/libpython.py')
-rw-r--r--Tools/gdb/libpython.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 0d599811d9..ac4aff5e32 100644
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -43,6 +43,7 @@ The module also extends gdb with some python-specific commands.
from __future__ import with_statement
import gdb
import locale
+import sys
# Look up the gdb.Type for some standard types:
_type_char_ptr = gdb.lookup_type('char').pointer() # char*