Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da65f60

Browse files
committed
Fix one more PyInt occurrence.
1 parent d019fe2 commit da65f60

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/extending/newtypes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ probably will! (On Windows, MSVC is known to call this an error and refuse to
7070
compile the code.)
7171

7272
For contrast, let's take a look at the corresponding definition for standard
73-
Python integers::
73+
Python floats::
7474

7575
typedef struct {
7676
PyObject_HEAD
77-
long ob_ival;
78-
} PyIntObject;
77+
double ob_fval;
78+
} PyFloatObject;
7979

8080
Moving on, we come to the crunch --- the type object. ::
8181

0 commit comments

Comments
 (0)