mirror of https://github.com/python/cpython
gh-123580: Fix `signed_number` token in documentation (GH-123582)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
parent
9684f40b9f
commit
9e079c220b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue