From: CBerJun <121291537+CBerJun@users.noreply.github.com> Date: Tue, 3 Sep 2024 08:01:26 +0000 (-0400) Subject: gh-123580: Fix `signed_number` token in documentation (GH-123582) X-Git-Tag: v3.14.0a1~604 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e079c220b7f64d78a1aa36a23b513d7f377a694;p=thirdparty%2FPython%2Fcpython.git gh-123580: Fix `signed_number` token in documentation (GH-123582) Co-authored-by: Sergey B Kirpichev --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 8181b9759517..46ee3a174f3d 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