Kaydet (Commit) d4fee287 authored tarafından Greg Ward's avatar Greg Ward

Rewrite awkward/ungrammatical sentence.

Typo fix.
üst d97b01cb
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment