Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec3af4e

Browse files
committed
Issue #21972: Make it clear that the PEP 401 future import works,
despite the PEP being rejected.
1 parent 7c549c4 commit ec3af4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Grammar/Grammar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ and_test: not_test ('and' not_test)*
8989
not_test: 'not' not_test | comparison
9090
comparison: expr (comp_op expr)*
9191
# <> isn't actually a valid comparison operator in Python. It's here for the
92-
# sake of a __future__ import described in PEP 401
92+
# sake of a __future__ import described in PEP 401 (which really works :-)
9393
comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'
9494
star_expr: '*' expr
9595
expr: xor_expr ('|' xor_expr)*

0 commit comments

Comments
 (0)