summaryrefslogtreecommitdiffstats
path: root/Tools/gdb/libpython.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-02 03:37:02 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-02 03:37:02 (GMT)
commit7462b64911f1e2df2de2285ddbf8b156b5cdc418 (patch)
tree1d892984f008498030909effcf72f2018d3acf10 /Tools/gdb/libpython.py
parent314464d0ab4ad283fce7594158b2464d47cc68d8 (diff)
downloadcpython-7462b64911f1e2df2de2285ddbf8b156b5cdc418.zip
cpython-7462b64911f1e2df2de2285ddbf8b156b5cdc418.tar.gz
cpython-7462b64911f1e2df2de2285ddbf8b156b5cdc418.tar.bz2
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
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 2ad22e2..32341e7 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