mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
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.
This commit is contained in:
parent
314464d0ab
commit
7462b64911
86 changed files with 136 additions and 136 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue