diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2018-01-04 10:24:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 10:24:45 (GMT) |
commit | 78e24d4415c37e9e9951920bc31e9ee4868d86cb (patch) | |
tree | 6a8a535a9dc62690a44c9537baacc2a4f0c2b1ba /Objects | |
parent | d8ac4d1d5ac256ebf3d8d38c226049abec82a2a0 (diff) | |
download | cpython-78e24d4415c37e9e9951920bc31e9ee4868d86cb.zip cpython-78e24d4415c37e9e9951920bc31e9ee4868d86cb.tar.gz cpython-78e24d4415c37e9e9951920bc31e9ee4868d86cb.tar.bz2 |
Fix outdated comment in typeobject.c (GH-5090)
The comment was added in 3abca127fe1565ec80f6b0a1ae48d65186ad887d.
In d78448e912126410117723c7d240bbdfff06df16, it was changed to
use PyArg_ParseTuple instead.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 40c8fad..e570c41 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -2372,7 +2372,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds) } /* SF bug 475327 -- if that didn't trigger, we need 3 - arguments. but PyArg_ParseTupleAndKeywords below may give + arguments. but PyArg_ParseTuple below may give a msg saying type() needs exactly 3. */ if (nargs != 3) { PyErr_SetString(PyExc_TypeError, |