Skip to content

Commit 494d4e7

Browse files
committed
Revert "pythongh-114949: fix signature in the type.__prepare__() doc string"
This reverts commit 3dc4125.
1 parent 897547a commit 494d4e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Objects/typeobject.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6051,7 +6051,7 @@ static PyMethodDef type_methods[] = {
60516051
TYPE___SUBCLASSES___METHODDEF
60526052
{"__prepare__", _PyCFunction_CAST(type_prepare),
60536053
METH_FASTCALL | METH_KEYWORDS | METH_CLASS,
6054-
PyDoc_STR("__prepare__($type, name, bases, /, **kwds)\n"
6054+
PyDoc_STR("__prepare__($cls, name, bases, /, **kwds)\n"
60556055
"--\n"
60566056
"\n"
60576057
"Create the namespace for the class statement")},

0 commit comments

Comments
 (0)