diff options
author | Georg Brandl <georg@python.org> | 2008-02-03 12:29:00 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-03 12:29:00 (GMT) |
commit | 63cdb867f0a16061fd888d03146d667a8dcbec64 (patch) | |
tree | e890388c7913647e271452947b3fec3cea601169 /Doc/reference | |
parent | 70c0c0269169a0cd1810653ca7a880ac91cd0a46 (diff) | |
download | cpython-63cdb867f0a16061fd888d03146d667a8dcbec64.zip cpython-63cdb867f0a16061fd888d03146d667a8dcbec64.tar.gz cpython-63cdb867f0a16061fd888d03146d667a8dcbec64.tar.bz2 |
#2003: fix sentence.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index f8990f2..8ae94af 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -1078,7 +1078,7 @@ that all old-style instances, independently of their class, are implemented with a single built-in type, called ``instance``. New-style classes were introduced in Python 2.2 to unify classes and types. A -new-style class neither more nor less than a user-defined type. If *x* is an +new-style class is neither more nor less than a user-defined type. If *x* is an instance of a new-style class, then ``type(x)`` is the same as ``x.__class__``. The major motivation for introducing new-style classes is to provide a unified |