Skip to content

Commit e3babbd

Browse files
authored
Correct signature of __build_class__ (GH-16735)
1 parent b16e382 commit e3babbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/bltinmodule.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ builtin___build_class__(PyObject *self, PyObject *const *args, Py_ssize_t nargs,
260260
}
261261

262262
PyDoc_STRVAR(build_class_doc,
263-
"__build_class__(func, name, *bases, metaclass=None, **kwds) -> class\n\
263+
"__build_class__(func, name, /, *bases, [metaclass], **kwds) -> class\n\
264264
\n\
265265
Internal helper function used by the class statement.");
266266

0 commit comments

Comments
 (0)