diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-08 19:33:24 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-08 19:33:24 +0200 |
commit | 2be03541a70ffb5abbf87666e6b8847a69868c16 (patch) | |
tree | c4912452f3665752bcca5049dfa989b637b0608d /Tools/gdb/libpython.py | |
parent | 86fcfb5b9cb0fa53c8a120fd65e962d864e44fb9 (diff) | |
download | cpython-2be03541a70ffb5abbf87666e6b8847a69868c16.tar.gz |
Fix test_gdb following the small unicode struct change in c25262e97304 (issue #13130)
Diffstat (limited to 'Tools/gdb/libpython.py')
-rw-r--r-- | Tools/gdb/libpython.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index 4b42c8bff8..43a0f20ec1 100644 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -1152,7 +1152,7 @@ class PyUnicodeObjectPtr(PyObjectPtr): field_str = field_str.cast(_type_unsigned_char_ptr) elif repr_kind == 2: field_str = field_str.cast(_type_unsigned_short_ptr) - elif repr_kind == 3: + elif repr_kind == 4: field_str = field_str.cast(_type_unsigned_int_ptr) else: # Python 3.2 and earlier |