From: Fred Drake Date: Thu, 12 Feb 2004 18:13:12 +0000 (+0000) Subject: minor markup improvements X-Git-Tag: v2.4a1~828 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce3caf2e7abd1d70da5063f2336a2f4b06450341;p=python minor markup improvements --- diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 1ca43d8778..fec2f3881f 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__()}