summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-04-09 18:15:57 (GMT)
committerFred Drake <fdrake@acm.org>2003-04-09 18:15:57 (GMT)
commit12dd7b12c6bce882a7e789173760abab62c80304 (patch)
tree41bebed872e227c53ae4684a60e5b4a2c3616274
parent6db771871ee3ad65109cd9791cc3ef339618f086 (diff)
downloadcpython-12dd7b12c6bce882a7e789173760abab62c80304.zip
cpython-12dd7b12c6bce882a7e789173760abab62c80304.tar.gz
cpython-12dd7b12c6bce882a7e789173760abab62c80304.tar.bz2
Minor markup adjustments.
-rw-r--r--Doc/api/abstract.tex5
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/api/abstract.tex b/Doc/api/abstract.tex
index a8bcc15..1d87c05 100644
--- a/Doc/api/abstract.tex
+++ b/Doc/api/abstract.tex
@@ -318,13 +318,12 @@ determination.
When \var{o} is non-\NULL, returns a type object corresponding to
the object type of object \var{o}. On failure, raises
\exception{SystemError} and returns \NULL. This is equivalent to
- the Python expression \code{type(\var{o})}.
+ the Python expression \code{type(\var{o})}.\bifuncindex{type}
This function increments the reference count of the return value.
There's really no reason to use this function instead of the
common expression \code{\var{o}->ob_type}, which returns a pointer
- of type \code{PyTypeObject *}, except when the incremented reference
+ of type \ctype{PyTypeObject*}, except when the incremented reference
count is needed.
- \bifuncindex{type}
\end{cfuncdesc}
\begin{cfuncdesc}{int}{PyObject_TypeCheck}{PyObject *o, PyTypeObject *type}