From: Georg Brandl Date: Sat, 8 Dec 2007 18:59:56 +0000 (+0000) Subject: Fix one more PyInt occurrence. X-Git-Tag: v3.0a3~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da65f6078359a3906366300544eb3692e3c2a0f8;p=thirdparty%2FPython%2Fcpython.git Fix one more PyInt occurrence. --- diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 75e9d7fcb2d6..e2cf6dfbf8fe 100644 --- a/Doc/extending/newtypes.rst +++ b/Doc/extending/newtypes.rst @@ -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. ::