summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-11-28 07:26:15 (GMT)
committerFred Drake <fdrake@acm.org>2001-11-28 07:26:15 (GMT)
commitc37b65ee106352c00ab1615b2bac0a5b9a720137 (patch)
tree974c5881da81256b67ad9879435c80c2c739a83e /Doc/api
parent00859c053857437b635ba9e813f46e884f3aecb4 (diff)
downloadcpython-c37b65ee106352c00ab1615b2bac0a5b9a720137.zip
cpython-c37b65ee106352c00ab1615b2bac0a5b9a720137.tar.gz
cpython-c37b65ee106352c00ab1615b2bac0a5b9a720137.tar.bz2
Clean up some markup cruft. A number of the macros that take no
parameters (like \UNIX) are commonly entered using an empty group to separate the markup from a following inter-word space; this is not needed when the next character is punctuation, or the markup is the last thing in the enclosing group. These cases were marked inconsistently; the empty group is now *only* used when needed.
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/abstract.tex4
-rw-r--r--Doc/api/intro.tex2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex
index 8f1ce93..0dca799 100644
--- a/Doc/api/abstract.tex
+++ b/Doc/api/abstract.tex
@@ -736,14 +736,14 @@ determination.
\begin{cfuncdesc}{PyObject*}{PySequence_Fast_GET_ITEM}{PyObject *o, int i}
Return the \var{i}th element of \var{o}, assuming that \var{o} was
- returned by \cfunction{PySequence_Fast()}, \var{o} is not \NULL{},
+ returned by \cfunction{PySequence_Fast()}, \var{o} is not \NULL,
and that \var{i} is within bounds.
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PySequence_Fast_GET_SIZE}{PyObject *o}
Returns the length of \var{o}, assuming that \var{o} was
returned by \cfunction{PySequence_Fast()} and that \var{o} is
- not \NULL{}. The size can also be gotten by calling
+ not \NULL. The size can also be gotten by calling
\cfunction{PySequence_Size()} on \var{o}, but
\cfunction{PySequence_Fast_GET_SIZE()} is faster because it can
assume \var{o} is a list or tuple.
diff --git a/Doc/api/intro.tex b/Doc/api/intro.tex
index 926ae74..65298eb 100644
--- a/Doc/api/intro.tex
+++ b/Doc/api/intro.tex
@@ -3,7 +3,7 @@
The Application Programmer's Interface to Python gives C and
\Cpp{} programmers access to the Python interpreter at a variety of
-levels. The API is equally usable from \Cpp{}, but for brevity it is
+levels. The API is equally usable from \Cpp, but for brevity it is
generally referred to as the Python/C API. There are two
fundamentally different reasons for using the Python/C API. The first
reason is to write \emph{extension modules} for specific purposes;