diff options
author | Raymond Hettinger <python@rcn.com> | 2015-11-02 00:04:46 -0500 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-11-02 00:04:46 -0500 |
commit | 0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2 (patch) | |
tree | 4b47f7e8db6a919ad9e1dd8da0f21144754e7ffa /Tools/gdb/libpython.py | |
parent | 67b97b8f8dc792aa7e1130a52a0ccc5069c400ed (diff) | |
parent | e56a9191000d2ff15d7550b9c852fa6dee9b8f50 (diff) | |
download | cpython-git-0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2.tar.gz |
merge
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-x | Tools/gdb/libpython.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index 2ad22e2bbe..32341e7794 100755 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -91,7 +91,7 @@ class NullPyObjectPtr(RuntimeError): def safety_limit(val): - # Given a integer value from the process being debugged, limit it to some + # Given an integer value from the process being debugged, limit it to some # safety threshold so that arbitrary breakage within said process doesn't # break the gdb process too much (e.g. sizes of iterations, sizes of lists) return min(val, 1000) @@ -158,7 +158,7 @@ class TruncatedStringIO(object): class PyObjectPtr(object): """ - Class wrapping a gdb.Value that's a either a (PyObject*) within the + Class wrapping a gdb.Value that's either a (PyObject*) within the inferior process, or some subclass pointer e.g. (PyBytesObject*) There will be a subclass for every refined PyObject type that we care |