Skip to content

Commit 78e43a5

Browse files
miss-islingtonberkerpeksag
authored andcommitted
Fix outdated comment in typeobject.c (GH-5090)
The comment was added in 3abca12. In d78448e, it was changed to use PyArg_ParseTuple instead. (cherry picked from commit 78e24d4)
1 parent a70d5ff commit 78e43a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
23132313
}
23142314

23152315
/* SF bug 475327 -- if that didn't trigger, we need 3
2316-
arguments. but PyArg_ParseTupleAndKeywords below may give
2316+
arguments. but PyArg_ParseTuple below may give
23172317
a msg saying type() needs exactly 3. */
23182318
if (nargs != 3) {
23192319
PyErr_SetString(PyExc_TypeError,

0 commit comments

Comments
 (0)