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

Skip to content

Commit d4fee28

Browse files
committed
Rewrite awkward/ungrammatical sentence.
Typo fix.
1 parent d97b01c commit d4fee28

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/ext/newtypes.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
5757
object. These are the fields the \code{PyObject_HEAD} macro brings
5858
in. The reason for the macro is to standardize the layout and to
5959
enable special debugging fields in debug builds. Note that there is
6060
no semicolon after the \code{PyObject_HEAD} macro; one is included in
6161
the macro definition. Be wary of adding one by accident; it's easy to
6262
do from habit, and your compiler might not complain, but someone
6363
else'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

6666
For contrast, let's take a look at the corresponding definition for
6767
standard Python integers:

0 commit comments

Comments
 (0)