mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
minor markup improvements
This commit is contained in:
parent
70a6b49821
commit
ce3caf2e7a
1 changed files with 7 additions and 7 deletions
|
|
@ -479,15 +479,15 @@ Changes to Python's build process and to the C API include:
|
||||||
values from extension functions: \csimplemacro{Py_RETURN_NONE},
|
values from extension functions: \csimplemacro{Py_RETURN_NONE},
|
||||||
\csimplemacro{Py_RETURN_TRUE}, and \csimplemacro{Py_RETURN_FALSE}.
|
\csimplemacro{Py_RETURN_TRUE}, and \csimplemacro{Py_RETURN_FALSE}.
|
||||||
|
|
||||||
\item A new function, \cfunction{PyTuple_Pack(N, obj1, obj2, ...,
|
\item A new function, \cfunction{PyTuple_Pack(\var{N}, \var{obj1},
|
||||||
objN)}, constructs tuples from a variable length argument list of
|
\var{obj2}, ..., \var{objN})}, constructs tuples from a variable
|
||||||
Python objects.
|
length argument list of Python objects.
|
||||||
|
|
||||||
\item A new function, \cfunction{PyDict_Contains(d, k)}, implements
|
\item A new function, \cfunction{PyDict_Contains(\var{d}, \var{k})},
|
||||||
fast dictionary lookups without masking exceptions raised during the
|
implements fast dictionary lookups without masking exceptions raised
|
||||||
look-up process.
|
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.
|
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
|
This can halve the access to time to a method such as
|
||||||
\method{set.__contains__()}
|
\method{set.__contains__()}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue