diff options
author | Georg Brandl <georg@python.org> | 2007-12-08 18:59:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-12-08 18:59:56 (GMT) |
commit | da65f6078359a3906366300544eb3692e3c2a0f8 (patch) | |
tree | 4b1169cd7e2d7df981a2d2e9e6aa0d6d3f1f71bb | |
parent | d019fe295ee464bd81572d9f58d89e23b39cecfe (diff) | |
download | cpython-da65f6078359a3906366300544eb3692e3c2a0f8.zip cpython-da65f6078359a3906366300544eb3692e3c2a0f8.tar.gz cpython-da65f6078359a3906366300544eb3692e3c2a0f8.tar.bz2 |
Fix one more PyInt occurrence.
-rw-r--r-- | Doc/extending/newtypes.rst | 6 |
1 files 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. :: |