summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-03-07 08:05:03 (GMT)
committerGitHub <noreply@github.com>2024-03-07 08:05:03 (GMT)
commit808a77612fb89b125d25efac2788522a100e8a6d (patch)
treec3166ed5bc47d5930e1c7a61b3a16b87209c411f /Doc/reference
parent40b79efae7f8e1e0d4fd50c13f8b7514203bc6da (diff)
downloadcpython-808a77612fb89b125d25efac2788522a100e8a6d.zip
cpython-808a77612fb89b125d25efac2788522a100e8a6d.tar.gz
cpython-808a77612fb89b125d25efac2788522a100e8a6d.tar.bz2
gh-115664: Fix ordering of more versionadded and versionchanged directives (GH-116298)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/lexical_analysis.rst1
-rw-r--r--Doc/reference/simple_stmts.rst3
2 files changed, 1 insertions, 3 deletions
diff --git a/Doc/reference/lexical_analysis.rst b/Doc/reference/lexical_analysis.rst
index 0adfb03..40bd477 100644
--- a/Doc/reference/lexical_analysis.rst
+++ b/Doc/reference/lexical_analysis.rst
@@ -514,7 +514,6 @@ is not supported.
The ``'rb'`` prefix of raw bytes literals has been added as a synonym
of ``'br'``.
-.. versionadded:: 3.3
Support for the unicode legacy literal (``u'value'``) was reintroduced
to simplify the maintenance of dual Python 2.x and 3.x codebases.
See :pep:`414` for more information.
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 04132c7..810232e 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -664,8 +664,7 @@ and information about handling exceptions is in section :ref:`try`.
.. versionchanged:: 3.3
:const:`None` is now permitted as ``Y`` in ``raise X from Y``.
-.. versionadded:: 3.3
- The :attr:`~BaseException.__suppress_context__` attribute to suppress
+ Added the :attr:`~BaseException.__suppress_context__` attribute to suppress
automatic display of the exception context.
.. versionchanged:: 3.11