summaryrefslogtreecommitdiffstats
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-17 06:37:36 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-17 06:37:36 (GMT)
commit9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f (patch)
tree4878492acdcc033c71d4be46967537291d433cb1 /Tools/gdb/libpython.py
parent0bb165ecc114fcf7ce1df454355c4cbbef8b63e9 (diff)
downloadcpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.zip
cpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.tar.gz
cpython-9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f.tar.bz2
Issue #26778: Fixed "a/an/and" typos in code comment and documentation.
Diffstat (limited to 'Tools/gdb/libpython.py')
-rwxr-xr-xTools/gdb/libpython.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 390ea29..e713654 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -84,7 +84,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)
@@ -132,7 +132,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. (PyStringObject*)
There will be a subclass for every refined PyObject type that we care