Skip to content

Commit

Permalink
pythongh-123580: Fix signed_number token in documentation (pythonGH…
Browse files Browse the repository at this point in the history
…-123582)


Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
  • Loading branch information
CBerJun and skirpichev authored Sep 3, 2024
1 parent 9684f40 commit 9e079c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/reference/compound_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9e079c2

Please sign in to comment.