From: Georg Brandl Date: Sun, 3 Feb 2008 12:29:00 +0000 (+0000) Subject: #2003: fix sentence. X-Git-Tag: v2.6a1~286 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63cdb867f0a16061fd888d03146d667a8dcbec64;p=python #2003: fix sentence. --- diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index f8990f2493..8ae94af343 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