From da65f6078359a3906366300544eb3692e3c2a0f8 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 8 Dec 2007 18:59:56 +0000 Subject: Fix one more PyInt occurrence. --- Doc/extending/newtypes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/extending/newtypes.rst b/Doc/extending/newtypes.rst index 75e9d7f..e2cf6df 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. :: -- cgit v0.12