From f350160d4370b79cb174bab39c923d376c040fad Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 8 Sep 2003 19:01:04 +0000 Subject: Fix spacing markup and other sundries. --- Doc/ext/extending.tex | 4 ++-- 1 file 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 -- cgit v0.12