File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,16 +52,16 @@ \section{The Basics
5252} noddy_NoddyObject;
5353\end {verbatim }
5454
55- This is what a Noddy object will contain. In this case nothing more
56- than every Python object contains - a refcount and a pointer to a type
55+ This is what a Noddy object will contain---in this case, nothing more
56+ than every Python object contains, namely a refcount and a pointer to a type
5757object. These are the fields the \code {PyObject_HEAD} macro brings
5858in. The reason for the macro is to standardize the layout and to
5959enable special debugging fields in debug builds. Note that there is
6060no semicolon after the \code {PyObject_HEAD} macro; one is included in
6161the macro definition. Be wary of adding one by accident; it's easy to
6262do from habit, and your compiler might not complain, but someone
6363else's probably will! (On Windows, MSVC is known to call this an
64- error and refuse to produce compiled code.)
64+ error and refuse to compile the code.)
6565
6666For contrast, let's take a look at the corresponding definition for
6767standard Python integers:
You can’t perform that action at this time.
0 commit comments