mirror of
https://github.com/python/cpython.git
synced 2025-10-15 03:10:29 +00:00
gh-121277: Allow .. versionadded:: next
in docs (GH-121278)
Make `versionchanged:: next`` expand to current (unreleased) version. When a new CPython release is cut, the release manager will replace all such occurences of "next" with the just-released version. (See the issue for release-tools and devguide PRs.) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
1ff1b899ce
commit
7d24ea9db3
9 changed files with 36 additions and 14 deletions
|
@ -2491,7 +2491,7 @@ effects on the compilation of a program:
|
|||
differ in whitespace or similar details. Attributes include line numbers
|
||||
and column offsets.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
|
||||
.. _ast-cli:
|
||||
|
|
|
@ -2303,7 +2303,7 @@ These are the fundamental ctypes data types:
|
|||
Represents the C :c:expr:`double complex` datatype, if available. The
|
||||
constructor accepts an optional :class:`complex` initializer.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
|
||||
.. class:: c_float_complex
|
||||
|
|
|
@ -959,7 +959,7 @@ iterations of the loop.
|
|||
list of constants supported by this instruction. Used by the :keyword:`assert`
|
||||
statement to load :exc:`AssertionError`.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
|
||||
.. opcode:: LOAD_BUILD_CLASS
|
||||
|
@ -1826,7 +1826,7 @@ iterations of the loop.
|
|||
If ``type(STACK[-1]).__xxx__`` is not a method, leave
|
||||
``STACK[-1].__xxx__; NULL`` on the stack.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
|
||||
**Pseudo-instructions**
|
||||
|
|
|
@ -1563,7 +1563,7 @@ Copying, moving and deleting
|
|||
This argument has no effect when copying files on Windows (where
|
||||
metadata is always preserved).
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
|
||||
.. method:: Path.copy_into(target_dir, *, follow_symlinks=True, \
|
||||
|
@ -1574,7 +1574,7 @@ Copying, moving and deleting
|
|||
:meth:`Path.copy`. Returns a new :class:`!Path` instance pointing to the
|
||||
copy.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
|
||||
.. method:: Path.rename(target)
|
||||
|
|
|
@ -255,7 +255,7 @@ Examining Symbol Tables
|
|||
|
||||
Return ``True`` if the symbol is a type parameter.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
.. method:: is_global()
|
||||
|
||||
|
@ -302,7 +302,7 @@ Examining Symbol Tables
|
|||
be free from the perspective of ``C.method``, thereby allowing
|
||||
the latter to return *1* at runtime and not *2*.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
.. method:: is_assigned()
|
||||
|
||||
|
@ -312,13 +312,13 @@ Examining Symbol Tables
|
|||
|
||||
Return ``True`` if the symbol is a comprehension iteration variable.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
.. method:: is_comp_cell()
|
||||
|
||||
Return ``True`` if the symbol is a cell in an inlined comprehension.
|
||||
|
||||
.. versionadded:: 3.14
|
||||
.. versionadded:: next
|
||||
|
||||
.. method:: is_namespace()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue