From: Raymond Hettinger Date: Mon, 8 Sep 2003 19:01:57 +0000 (+0000) Subject: Fix spacing markup and other sundries. X-Git-Tag: v2.3.1~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=607e2d786d3c83119fb138bd4a267ff78f70445a;p=thirdparty%2FPython%2Fcpython.git Fix spacing markup and other sundries. --- diff --git a/Doc/ext/extending.tex b/Doc/ext/extending.tex index 0f38e96f10f9..bfd6b04c805a 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