X Tutup
The Wayback Machine - https://web.archive.org/web/20220202174742/https://github.com/python/cpython/pull/30499/files
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-46272: Fix two heading comments in python.gram #30499

Merged
merged 1 commit into from Jan 9, 2022
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -676,8 +676,8 @@ inversion[expr_ty] (memo):
| 'not' a=inversion { _PyAST_UnaryOp(Not, a, EXTRA) }
| comparison

# Comparisons operators
# ---------------------
# Comparison operators
# --------------------

comparison[expr_ty]:
| a=bitwise_or b=compare_op_bitwise_or_pair+ {
@@ -712,7 +712,7 @@ in_bitwise_or[CmpopExprPair*]: 'in' a=bitwise_or { _PyPegen_cmpop_expr_pair(p, I
isnot_bitwise_or[CmpopExprPair*]: 'is' 'not' a=bitwise_or { _PyPegen_cmpop_expr_pair(p, IsNot, a) }
is_bitwise_or[CmpopExprPair*]: 'is' a=bitwise_or { _PyPegen_cmpop_expr_pair(p, Is, a) }

# Logical operators
# Bitwise operators
# -----------------

bitwise_or[expr_ty]:
X Tutup