summaryrefslogtreecommitdiff
path: root/Objects/exceptions.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2015-11-02 00:04:46 -0500
committerRaymond Hettinger <python@rcn.com>2015-11-02 00:04:46 -0500
commit0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2 (patch)
tree4b47f7e8db6a919ad9e1dd8da0f21144754e7ffa /Objects/exceptions.c
parent67b97b8f8dc792aa7e1130a52a0ccc5069c400ed (diff)
parente56a9191000d2ff15d7550b9c852fa6dee9b8f50 (diff)
downloadcpython-git-0bdf9ea136c4acca2de0fe6ab799ab35d5b09fd2.tar.gz
merge
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 a275997810..f5a1a2b278 100644
--- a/Objects/exceptions.c
+++ b/Objects/exceptions.c
@@ -874,7 +874,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__.