diff options
author | Greg Ward <gward@python.net> | 2003-01-08 03:02:26 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2003-01-08 03:02:26 (GMT) |
commit | d4fee28717379b071d5db894d0fd7599dde1fcc6 (patch) | |
tree | f9c17762967bf001ce501959002aff36ea8a8d8d | |
parent | d97b01cb821686611d9b8a1b1ba03449cc1f8610 (diff) | |
download | cpython-d4fee28717379b071d5db894d0fd7599dde1fcc6.zip cpython-d4fee28717379b071d5db894d0fd7599dde1fcc6.tar.gz cpython-d4fee28717379b071d5db894d0fd7599dde1fcc6.tar.bz2 |
Rewrite awkward/ungrammatical sentence.
Typo fix.
-rw-r--r-- | Doc/ext/newtypes.tex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex index efe1c7b..631a37a 100644 --- a/Doc/ext/newtypes.tex +++ b/Doc/ext/newtypes.tex @@ -52,8 +52,8 @@ typedef struct { } noddy_NoddyObject; \end{verbatim} -This is what a Noddy object will contain. In this case nothing more -than every Python object contains - a refcount and a pointer to a type +This is what a Noddy object will contain---in this case, nothing more +than every Python object contains, namely a refcount and a pointer to a type object. These are the fields the \code{PyObject_HEAD} macro brings in. The reason for the macro is to standardize the layout and to enable special debugging fields in debug builds. Note that there is @@ -61,7 +61,7 @@ no semicolon after the \code{PyObject_HEAD} macro; one is included in the macro definition. Be wary of adding one by accident; it's easy to do from habit, and your compiler might not complain, but someone else's probably will! (On Windows, MSVC is known to call this an -error and refuse to produce compiled code.) +error and refuse to compile the code.) For contrast, let's take a look at the corresponding definition for standard Python integers: |