]> granicus.if.org Git - python/commitdiff
Fix one more PyInt occurrence.
authorGeorg Brandl <georg@python.org>
Sat, 8 Dec 2007 18:59:56 +0000 (18:59 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 8 Dec 2007 18:59:56 +0000 (18:59 +0000)
Doc/extending/newtypes.rst

index 75e9d7fcb2d6645d61b1d23c86921dd321bad160..e2cf6dfbf8fe333c5d38a627b8d7832039552dfe 100644 (file)
@@ -70,12 +70,12 @@ probably will!  (On Windows, MSVC is known to call this an error and refuse to
 compile the code.)
 
 For contrast, let's take a look at the corresponding definition for standard
-Python integers::
+Python floats::
 
    typedef struct {
        PyObject_HEAD
-       long ob_ival;
-   } PyIntObject;
+       double ob_fval;
+   } PyFloatObject;
 
 Moving on, we come to the crunch --- the type object. ::