8000 Fix outdated comment in typeobject.c (GH-5090) · python/cpython@78e24d4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 78e24d4

Browse files
authored
Fix outdated comment in typeobject.c (GH-5090)
The comment was added in 3abca12. In d78448e, it was changed to use PyArg_ParseTuple instead.
1 parent d8ac4d1 commit 78e24d4

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
@@ -2372,7 +2372,7 @@ type_new(PyTypeObject *metatype, PyObject *args, PyObject *kwds)
23722372
}
23732373

23742374
/* SF bug 475327 -- if that didn't trigger, we need 3
2375-
arguments. but PyArg_ParseTupleAndKeywords below may give
2375+
arguments. but PyArg_ParseTuple below may give
23762376
a msg saying type() needs exactly 3. */
23772377
if (nargs != 3) {
23782378
PyErr_SetString(PyExc_TypeError,

0 commit comments

Comments
 (0)
0