Skip to content

Commit a04c7eb

Browse files
Correct signature of __build_class__ (GH-16735)
(cherry picked from commit e3babbd) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
1 parent 6da52ac commit a04c7eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/bltinmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ builtin___build_class__(PyObject *self, PyObject *const *args, Py_ssize_t nargs,
261261
}
262262

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

0 commit comments

Comments
 (0)