mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
gh-115664: Fix ordering of more versionadded and versionchanged directives (GH-116298)
This commit is contained in:
parent
40b79efae7
commit
808a77612f
22 changed files with 80 additions and 109 deletions
|
|
@ -6,6 +6,8 @@ Context Variables Objects
|
|||
-------------------------
|
||||
|
||||
.. _contextvarsobjects_pointertype_change:
|
||||
.. versionadded:: 3.7
|
||||
|
||||
.. versionchanged:: 3.7.1
|
||||
|
||||
.. note::
|
||||
|
|
@ -24,8 +26,6 @@ Context Variables Objects
|
|||
See :issue:`34762` for more details.
|
||||
|
||||
|
||||
.. versionadded:: 3.7
|
||||
|
||||
This section details the public C API for the :mod:`contextvars` module.
|
||||
|
||||
.. c:type:: PyContext
|
||||
|
|
|
|||
|
|
@ -308,7 +308,7 @@ Importing Modules
|
|||
|
||||
The module name, as an ASCII encoded string.
|
||||
|
||||
.. c: member:: PyObject* (*initfunc)(void)
|
||||
.. c:member:: PyObject* (*initfunc)(void)
|
||||
|
||||
Initialization function for a module built into the interpreter.
|
||||
|
||||
|
|
|
|||
|
|
@ -1575,14 +1575,14 @@ pointer and a void pointer argument.
|
|||
function is generally **not** suitable for calling Python code from
|
||||
arbitrary C threads. Instead, use the :ref:`PyGILState API<gilstate>`.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
.. versionchanged:: 3.9
|
||||
If this function is called in a subinterpreter, the function *func* is
|
||||
now scheduled to be called from the subinterpreter, rather than being
|
||||
called from the main interpreter. Each subinterpreter now has its own
|
||||
list of scheduled calls.
|
||||
|
||||
.. versionadded:: 3.1
|
||||
|
||||
.. _profiling:
|
||||
|
||||
Profiling and Tracing
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@ of Python objects.
|
|||
|
||||
Use the :c:func:`Py_SET_REFCNT()` function to set an object reference count.
|
||||
|
||||
.. versionchanged:: 3.11
|
||||
The parameter type is no longer :c:expr:`const PyObject*`.
|
||||
|
||||
.. versionchanged:: 3.10
|
||||
:c:func:`Py_REFCNT()` is changed to the inline static function.
|
||||
|
||||
.. versionchanged:: 3.11
|
||||
The parameter type is no longer :c:expr:`const PyObject*`.
|
||||
|
||||
|
||||
.. c:function:: void Py_SET_REFCNT(PyObject *o, Py_ssize_t refcnt)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue