summaryrefslogtreecommitdiffstats
path: root/Objects/exceptions.c
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 /Objects/exceptions.c
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 'Objects/exceptions.c')
-rw-r--r--Objects/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/exceptions.c b/Objects/exceptions.c
index c76eca8..1a218c1 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -867,7 +867,7 @@ OSError_init(PyOSErrorObject *self, PyObject *args, PyObject *kwds);
static int
oserror_use_init(PyTypeObject *type)
{
- /* When __init__ is defined in a OSError subclass, we want any
+ /* When __init__ is defined in an OSError subclass, we want any
extraneous argument to __new__ to be ignored. The only reasonable
solution, given __new__ takes a variable number of arguments,
is to defer arg parsing and initialization to __init__.