Commit 78e24d44 authored by Berker Peksag's avatar Berker Peksag Committed by GitHub

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

The comment was added in 3abca127.
In d78448e9, it was changed to
use PyArg_ParseTuple instead.
parent d8ac4d1d
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment