diff options
Diffstat (limited to 'Doc')
| -rw-r--r-- | Doc/c-api/extension-modules.rst | 6 | ||||
| -rw-r--r-- | Doc/c-api/module.rst | 30 | ||||
| -rw-r--r-- | Doc/c-api/object.rst | 2 | ||||
| -rw-r--r-- | Doc/c-api/type.rst | 2 | ||||
| -rw-r--r-- | Doc/library/argparse.rst | 4 | ||||
| -rw-r--r-- | Doc/library/gc.rst | 4 | ||||
| -rw-r--r-- | Doc/library/importlib.rst | 2 | ||||
| -rw-r--r-- | Doc/library/readline.rst | 2 | ||||
| -rw-r--r-- | Doc/library/socket.rst | 2 | ||||
| -rw-r--r-- | Doc/reference/datamodel.rst | 2 | ||||
| -rw-r--r-- | Doc/using/configure.rst | 2 |
11 files changed, 29 insertions, 29 deletions
diff --git a/Doc/c-api/extension-modules.rst b/Doc/c-api/extension-modules.rst index 6c5287f..92b5316 100644 --- a/Doc/c-api/extension-modules.rst +++ b/Doc/c-api/extension-modules.rst @@ -29,7 +29,7 @@ and must be named after the module name plus an extension listed in Extension export hook ..................... -.. versionadded:: next +.. versionadded:: 3.15 Support for the :samp:`PyModExport_{<name>}` export hook was added in Python 3.15. The older way of defining modules is still available: consult either @@ -191,7 +191,7 @@ the :c:data:`Py_mod_multiple_interpreters` slot. ``PyInit`` function ................... -.. deprecated:: next +.. deprecated:: 3.15 This functionality is :term:`soft deprecated`. It will not get new features, but there are no plans to remove it. @@ -272,7 +272,7 @@ For example, a module called ``spam`` would be defined like this:: Legacy single-phase initialization ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. deprecated:: next +.. deprecated:: 3.15 Single-phase initialization is :term:`soft deprecated`. It is a legacy mechanism to initialize extension diff --git a/Doc/c-api/module.rst b/Doc/c-api/module.rst index 0608d45..22f8b13 100644 --- a/Doc/c-api/module.rst +++ b/Doc/c-api/module.rst @@ -142,7 +142,7 @@ Modules created using the C API are typically defined using an array of :dfn:`slots`. The slots provide a "description" of how a module should be created. -.. versionchanged:: next +.. versionchanged:: 3.15 Previously, a :c:type:`PyModuleDef` struct was necessary to define modules. The older way of defining modules is still available: consult either the @@ -190,7 +190,7 @@ Metadata slots However, it is still recommended to include this slot for introspection and debugging purposes. - .. versionadded:: next + .. versionadded:: 3.15 Use :c:member:`PyModuleDef.m_name` instead to support previous versions. @@ -201,7 +201,7 @@ Metadata slots Usually it is set to a variable created with :c:macro:`PyDoc_STRVAR`. - .. versionadded:: next + .. versionadded:: 3.15 Use :c:member:`PyModuleDef.m_doc` instead to support previous versions. @@ -332,7 +332,7 @@ Creation and initialization slots .. versionadded:: 3.5 - .. versionchanged:: next + .. versionchanged:: 3.15 The *slots* argument may be a ``ModuleSpec``-like object, rather than a true :py:class:`~importlib.machinery.ModuleSpec` instance. @@ -365,7 +365,7 @@ Creation and initialization slots .. versionadded:: 3.5 - .. versionchanged:: next + .. versionchanged:: 3.15 Repeated ``Py_mod_exec`` slots are disallowed, except in :c:type:`PyModuleDef.m_slots`. @@ -384,7 +384,7 @@ Creation and initialization slots The table must be statically allocated (or otherwise guaranteed to outlive the module object). - .. versionadded:: next + .. versionadded:: 3.15 Use :c:member:`PyModuleDef.m_methods` instead to support previous versions. @@ -434,7 +434,7 @@ To retrieve the state from a given module, use the following functions: On error, set *\*result* to -1, and return -1 with an exception set. - .. versionadded:: next + .. versionadded:: 3.15 @@ -459,7 +459,7 @@ defining the module state. Use :c:func:`PyModule_GetStateSize` to retrieve the size of a given module. - .. versionadded:: next + .. versionadded:: 3.15 Use :c:member:`PyModuleDef.m_size` instead to support previous versions. @@ -482,7 +482,7 @@ defining the module state. (:c:data:`Py_mod_state_size`) is greater than 0 and the module state (as returned by :c:func:`PyModule_GetState`) is ``NULL``. - .. versionadded:: next + .. versionadded:: 3.15 Use :c:member:`PyModuleDef.m_size` instead to support previous versions. @@ -510,7 +510,7 @@ defining the module state. the cyclic garbage collector is not involved and the :c:macro:`Py_mod_state_free` function is called directly. - .. versionadded:: next + .. versionadded:: 3.15 Use :c:member:`PyModuleDef.m_clear` instead to support previous versions. @@ -532,7 +532,7 @@ defining the module state. (:c:data:`Py_mod_state_size`) is greater than 0 and the module state (as returned by :c:func:`PyModule_GetState`) is ``NULL``. - .. versionadded:: next + .. versionadded:: 3.15 Use :c:member:`PyModuleDef.m_free` instead to support previous versions. @@ -593,7 +593,7 @@ A module's token -- and the *your_token* value to use in the above code -- is: This means that :c:macro:`!Py_mod_token` cannot be used in :c:member:`PyModuleDef.m_slots`. - .. versionadded:: next + .. versionadded:: 3.15 .. c:function:: int PyModule_GetToken(PyObject *module, void** result) @@ -601,7 +601,7 @@ A module's token -- and the *your_token* value to use in the above code -- is: On error, set *\*result* to NULL, and return -1 with an exception set. - .. versionadded:: next + .. versionadded:: 3.15 See also :c:func:`PyType_GetModuleByToken`. @@ -641,7 +641,7 @@ rather than from an extension's :ref:`export hook <extension-export-hook>`. :c:func:`!PyModule_FromSlotsAndSpec` call. In particular, it may be heap-allocated. - .. versionadded:: next + .. versionadded:: 3.15 .. c:function:: int PyModule_Exec(PyObject *module) @@ -654,7 +654,7 @@ rather than from an extension's :ref:`export hook <extension-export-hook>`. :ref:`legacy single-phase initialization <single-phase-initialization>`, this function does nothing and returns 0. - .. versionadded:: next + .. versionadded:: 3.15 diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst index 76971c4..3e0cc66 100644 --- a/Doc/c-api/object.rst +++ b/Doc/c-api/object.rst @@ -111,7 +111,7 @@ Object Protocol object type name: str object repr : 'abcdef' - .. versionadded:: next + .. versionadded:: 3.15 .. c:function:: int PyObject_HasAttrWithError(PyObject *o, PyObject *attr_name) diff --git a/Doc/c-api/type.rst b/Doc/c-api/type.rst index 1f57cc0..8cadf26 100644 --- a/Doc/c-api/type.rst +++ b/Doc/c-api/type.rst @@ -317,7 +317,7 @@ Type Objects and other places where a method's defining class cannot be passed using the :c:type:`PyCMethod` calling convention. - .. versionadded:: next + .. versionadded:: 3.15 .. c:function:: PyObject* PyType_GetModuleByDef(PyTypeObject *type, struct PyModuleDef *def) diff --git a/Doc/library/argparse.rst b/Doc/library/argparse.rst index 70dd342..5cfe047 100644 --- a/Doc/library/argparse.rst +++ b/Doc/library/argparse.rst @@ -1370,7 +1370,7 @@ behavior:: >>> parser.parse_args('--foo XXX'.split()) Namespace(bar='XXX') -.. versionchanged:: next +.. versionchanged:: 3.15 Single-dash long option now takes precedence over short options. @@ -1473,7 +1473,7 @@ this API may be passed as the ``action`` parameter to .. versionadded:: 3.9 - .. versionchanged:: next + .. versionchanged:: 3.15 Added support for single-dash options. Added support for alternate prefix_chars_. diff --git a/Doc/library/gc.rst b/Doc/library/gc.rst index 79a8c38..0e041b5 100644 --- a/Doc/library/gc.rst +++ b/Doc/library/gc.rst @@ -118,7 +118,7 @@ The :mod:`gc` module provides the following functions: .. versionadded:: 3.4 - .. versionchanged:: next + .. versionchanged:: 3.15 Add ``duration`` and ``candidates``. @@ -340,7 +340,7 @@ values but should not rebind them): .. versionadded:: 3.3 - .. versionchanged:: next + .. versionchanged:: 3.15 Add "duration" and "candidates". diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index 08cb177..e4b5b68 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -210,7 +210,7 @@ Functions :exc:`ModuleNotFoundError` is raised when the module being reloaded lacks a :class:`~importlib.machinery.ModuleSpec`. - .. versionchanged:: next + .. versionchanged:: 3.15 If *module* is a lazy module that has not yet been materialized (i.e., loaded via :class:`importlib.util.LazyLoader` and not yet accessed), calling :func:`reload` is a no-op and returns the module unchanged. diff --git a/Doc/library/readline.rst b/Doc/library/readline.rst index 780cc77..0449682 100644 --- a/Doc/library/readline.rst +++ b/Doc/library/readline.rst @@ -252,7 +252,7 @@ Startup hooks function has been set. This function only exists if Python was compiled for a version of the library that supports it. - .. versionadded:: next + .. versionadded:: 3.15 .. _readline-completion: diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index b16cde3..743d768 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -482,7 +482,7 @@ The AF_* and SOCK_* constants are now :class:`AddressFamily` and .. versionchanged:: 3.14 Added support for ``TCP_QUICKACK`` on Windows platforms when available. - .. versionchanged:: next + .. versionchanged:: 3.15 ``IPV6_HDRINCL`` was added. diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index 97f55ac..d929721 100644 --- a/Doc/reference/datamodel.rst +++ b/Doc/reference/datamodel.rst @@ -2640,7 +2640,7 @@ Notes on using *__slots__*: of the iterator's values. However, the *__slots__* attribute will be an empty iterator. -.. versionchanged:: next +.. versionchanged:: 3.15 Allowed defining the *__dict__* and *__weakref__* *__slots__* for any class. diff --git a/Doc/using/configure.rst b/Doc/using/configure.rst index dff0fe0..af055d3 100644 --- a/Doc/using/configure.rst +++ b/Doc/using/configure.rst @@ -344,7 +344,7 @@ General Options "_tkinter": "Install the python-tk package to use tkinter", } - .. versionadded:: next + .. versionadded:: 3.15 .. option:: --enable-pystats |
