diff options
author | Fred Drake <fdrake@acm.org> | 2001-11-28 07:26:15 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-11-28 07:26:15 (GMT) |
commit | c37b65ee106352c00ab1615b2bac0a5b9a720137 (patch) | |
tree | 974c5881da81256b67ad9879435c80c2c739a83e /Doc/api/abstract.tex | |
parent | 00859c053857437b635ba9e813f46e884f3aecb4 (diff) | |
download | cpython-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/abstract.tex')
-rw-r--r-- | Doc/api/abstract.tex | 4 |
1 files changed, 2 insertions, 2 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. |