]> granicus.if.org Git - python/commitdiff
Fix typo in new metaclass docs
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 20 May 2012 08:15:11 +0000 (18:15 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 20 May 2012 08:15:11 +0000 (18:15 +1000)
Doc/reference/datamodel.rst

index 0fd5e7427ce99fa67483970f17b3190b7fabc37a..9f0b112cb641ab3f996cf5de01b5dff0629adc01 100644 (file)
@@ -1634,7 +1634,7 @@ Creating the class object
 Once the class namespace has been populated by executing the class body,
 the class object is created by calling
 ``metaclass(name, bases, namespace, **kwds)`` (the additional keywords
-passed here are the same as those passed to ``__prepate__``).
+passed here are the same as those passed to ``__prepare__``).
 
 This class object is the one that will be referenced by the zero-argument
 form of :func:`super`. ``__class__`` is an implicit closure reference