Fix outdated comment in typeobject.c (GH-5090)

The comment was added in 3abca127fe.
In d78448e912, it was changed to
use PyArg_ParseTuple instead.
This commit is contained in:
Berker Peksag 2018-01-04 13:24:45 +03:00 committed by GitHub
parent d8ac4d1d5a
commit 78e24d4415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,