summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2004-02-12 18:13:12 (GMT)
committerFred Drake <fdrake@acm.org>2004-02-12 18:13:12 (GMT)
commitce3caf2e7abd1d70da5063f2336a2f4b06450341 (patch)
treeef9b7a346d7aeb968ecd5caf2d6a1f94ac7e9496 /Doc
parent70a6b49821a3226f55e9716f32d802d06640cb89 (diff)
downloadcpython-ce3caf2e7abd1d70da5063f2336a2f4b06450341.zip
cpython-ce3caf2e7abd1d70da5063f2336a2f4b06450341.tar.gz
cpython-ce3caf2e7abd1d70da5063f2336a2f4b06450341.tar.bz2
minor markup improvements
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/whatsnew24.tex14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex
index 1ca43d8..fec2f38 100644
--- a/Doc/whatsnew/whatsnew24.tex
+++ b/Doc/whatsnew/whatsnew24.tex
@@ -479,15 +479,15 @@ Changes to Python's build process and to the C API include:
values from extension functions: \csimplemacro{Py_RETURN_NONE},
\csimplemacro{Py_RETURN_TRUE}, and \csimplemacro{Py_RETURN_FALSE}.
- \item A new function, \cfunction{PyTuple_Pack(N, obj1, obj2, ...,
- objN)}, constructs tuples from a variable length argument list of
- Python objects.
+ \item A new function, \cfunction{PyTuple_Pack(\var{N}, \var{obj1},
+ \var{obj2}, ..., \var{objN})}, constructs tuples from a variable
+ length argument list of Python objects.
- \item A new function, \cfunction{PyDict_Contains(d, k)}, implements
- fast dictionary lookups without masking exceptions raised during the
- look-up process.
+ \item A new function, \cfunction{PyDict_Contains(\var{d}, \var{k})},
+ implements fast dictionary lookups without masking exceptions raised
+ during the look-up process.
- \item A new method flag, \code{METH_COEXISTS}, allows a function
+ \item A new method flag, \constant{METH_COEXISTS}, allows a function
defined in slots to co-exist with a PyCFunction having the same name.
This can halve the access to time to a method such as
\method{set.__contains__()}