mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5
This commit is contained in:
commit
2eb819f7a8
86 changed files with 136 additions and 136 deletions
|
|
@ -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__.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue