]> granicus.if.org Git - python/commitdiff
Correct signature of __build_class__ (GH-16735)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 13 Oct 2019 15:53:54 +0000 (08:53 -0700)
committerGitHub <noreply@github.com>
Sun, 13 Oct 2019 15:53:54 +0000 (08:53 -0700)
(cherry picked from commit e3babbd03cd2bcb3c85deabae3bc6976aa95a3c3)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Python/bltinmodule.c

index 90a6b9fc6e246d182f6b914084930ce1a40d7ec0..33f969094e7d15994583abbae2a9cb8489e19737 100644 (file)
@@ -261,7 +261,7 @@ error:
 }
 
 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.");