diff options
author | Raymond Hettinger <python@rcn.com> | 2003-09-08 19:01:04 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-09-08 19:01:04 (GMT) |
commit | f350160d4370b79cb174bab39c923d376c040fad (patch) | |
tree | 500ad8a6b911285c3eacb6b8797e31057919ee3a /Doc/ext | |
parent | b67449d31d524ea8b8086e745a9871ffc0c32d95 (diff) | |
download | cpython-f350160d4370b79cb174bab39c923d376c040fad.zip cpython-f350160d4370b79cb174bab39c923d376c040fad.tar.gz cpython-f350160d4370b79cb174bab39c923d376c040fad.tar.bz2 |
Fix spacing markup and other sundries.
Diffstat (limited to 'Doc/ext')
-rw-r--r-- | Doc/ext/extending.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/ext/extending.tex b/Doc/ext/extending.tex index 0f38e96..bfd6b04 100644 --- a/Doc/ext/extending.tex +++ b/Doc/ext/extending.tex @@ -1,4 +1,4 @@ -\chapter{Extending Python with C or \Cpp \label{intro}} +\chapter{Extending Python with \C{} or \Cpp{} \label{intro}} It is quite easy to add new built-in modules to Python, if you know @@ -349,7 +349,7 @@ initspam(void) Note that PyMODINIT_FUNC declares the function as \code{void} return type, declares any special linkage declarations required by the platform, and for -\Cpp declares the function as \code{extern "C"}. +\Cpp{} declares the function as \code{extern "C"}. When the Python program imports module \module{spam} for the first time, \cfunction{initspam()} is called. (See below for comments about |