https://github.com/python/cpython/commit/e4516911fed8514222986fdb8a79cd2969316296
commit: e4516911fed8514222986fdb8a79cd2969316296
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: encukou <[email protected]>
date: 2024-09-04T11:18:42+02:00
summary:

[3.13] gh-123580: Fix `signed_number` token in documentation (GH-123582) 
(GH-123623)

gh-123580: Fix `signed_number` token in documentation (GH-123582)

(cherry picked from commit 9e079c220b7f64d78a1aa36a23b513d7f377a694)

Co-authored-by: CBerJun <[email protected]>
Co-authored-by: Sergey B Kirpichev <[email protected]>

files:
M Doc/reference/compound_stmts.rst

diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 8181b9759517f6..46ee3a174f3d0f 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -841,7 +841,7 @@ A literal pattern corresponds to most
                   : | "None"
                   : | "True"
                   : | "False"
-                  : | `signed_number`: NUMBER | "-" NUMBER
+   signed_number: ["-"] NUMBER
 
 The rule ``strings`` and the token ``NUMBER`` are defined in the
 :doc:`standard Python grammar <./grammar>`.  Triple-quoted strings are

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to