[Python-checkins] Correct signature of __build_class__ (GH-16735)
Miss Islington (bot)
webhook-mailer at python.org
Sun Oct 13 11:53:58 EDT 2019
https://github.com/python/cpython/commit/a04c7ebcb97fefe9b2fea0c805112afd927ac66b
commit: a04c7ebcb97fefe9b2fea0c805112afd927ac66b
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019年10月13日T08:53:54-07:00
summary:
Correct signature of __build_class__ (GH-16735)
(cherry picked from commit e3babbd03cd2bcb3c85deabae3bc6976aa95a3c3)
Co-authored-by: Pablo Galindo <Pablogsal at gmail.com>
files:
M Python/bltinmodule.c
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 90a6b9fc6e246..33f969094e7d1 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -261,7 +261,7 @@ builtin___build_class__(PyObject *self, PyObject *const *args, Py_ssize_t nargs,
}
PyDoc_STRVAR(build_class_doc,
-"__build_class__(func, name, *bases, metaclass=None, **kwds) -> class\n\
+"__build_class__(func, name, /, *bases, [metaclass], **kwds) -> class\n\
\n\
Internal helper function used by the class statement.");
More information about the Python-checkins
mailing list