summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-04-07 02:31:14 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-04-07 02:31:14 (GMT)
commitc4faeea9e04e18be1064fedd05d192c517efdb89 (patch)
tree672e201aa8d89fb8d158d6f999c59d384711999c /Doc
parent15efcb6f9d5324d3f7a4d1188edd45a28f313288 (diff)
downloadcpython-c4faeea9e04e18be1064fedd05d192c517efdb89.zip
cpython-c4faeea9e04e18be1064fedd05d192c517efdb89.tar.gz
cpython-c4faeea9e04e18be1064fedd05d192c517efdb89.tar.bz2
Fix nits
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/datamodel.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index eb63834..1e54db7 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -1564,13 +1564,13 @@ to remember the order that class members were defined::
>>> A.members
('__module__', 'one', 'two', 'three', 'four')
-When the class definition for *A* get executed, the first step is calling the
-metaclass's :meth:`__prepare__` method which returns an empty
+When the class definition for *A* gets executed, the process begins with
+calling the metaclass's :meth:`__prepare__` method which returns an empty
:class:`collections.OrderedDict`. That mapping records the methods and
attributes of *A* as they are defined within the body of the class statement.
-Once those definitions are executed, the ordered dict is fully populated, and
-then the metaclass's :meth:`__new__ ` method gets invoked. That method builds
-the new type and saves the keys for the ordered dictionary in an attribute
+Once those definitions are executed, the ordered dictionary is fully populated
+and the metaclass's :meth:`__new__ ` method gets invoked. That method builds
+the new type and it saves the ordered dictionary keys in an attribute
called *members*.