summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ext/extending.tex4
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