Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78770f0

Browse files
committed
Fix typo in new metaclass docs
1 parent 010ce32 commit 78770f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/reference/datamodel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ Creating the class object
16341634
Once the class namespace has been populated by executing the class body,
16351635
the class object is created by calling
16361636
``metaclass(name, bases, namespace, **kwds)`` (the additional keywords
1637-
passed here are the same as those passed to ``__prepate__``).
1637+
passed here are the same as those passed to ``__prepare__``).
16381638

16391639
This class object is the one that will be referenced by the zero-argument
16401640
form of :func:`super`. ``__class__`` is an implicit closure reference

0 commit comments

Comments
 (0)