[Python-3000-checkins] r59431 - python/branches/py3k/Doc/extending/newtypes.rst

georg.brandl python-3000-checkins at python.org
Sat Dec 8 19:59:56 CET 2007


Author: georg.brandl
Date: Sat Dec  8 19:59:56 2007
New Revision: 59431

Modified:
   python/branches/py3k/Doc/extending/newtypes.rst
Log:
Fix one more PyInt occurrence.


Modified: python/branches/py3k/Doc/extending/newtypes.rst
==============================================================================
--- python/branches/py3k/Doc/extending/newtypes.rst	(original)
+++ python/branches/py3k/Doc/extending/newtypes.rst	Sat Dec  8 19:59:56 2007
@@ -70,12 +70,12 @@
 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. ::
 


More information about the Python-3000-checkins mailing list