[3.12] gh-123580: Fix signed_number token in documentation (GH-123582) (GH-123624)

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

(cherry picked from commit 9e079c220b)

Co-authored-by: CBerJun <121291537+CBerJun@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
Miss Islington (bot) 2024-09-04 11:19:29 +02:00 committed by GitHub
parent 252ed6da4d
commit c6ee0b3e7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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