Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9e079c2

Browse files
gh-123580: Fixsigned_number token in documentation (GH-123582)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
1 parent9684f40 commit9e079c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ A literal pattern corresponds to most
841841
: | "None"
842842
: | "True"
843843
: | "False"
844-
: | `signed_number`: NUMBER |"-" NUMBER
844+
signed_number: ["-"] NUMBER
845845

846846
The rule ``strings`` and the token ``NUMBER`` are defined in the
847847
:doc:`standard Python grammar<./grammar>`. Triple-quoted strings are

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp