]> granicus.if.org Git - python/commitdiff
Issue #21972: Make it clear that the PEP 401 future import works,
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 5 Aug 2014 15:56:52 +0000 (17:56 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 5 Aug 2014 15:56:52 +0000 (17:56 +0200)
despite the PEP being rejected.

Grammar/Grammar

index 354fe607691c22882dbc71c2001d9510264accad..6c012c06ee4412a43c025b651ce3e5f2a6807e1d 100644 (file)
@@ -89,7 +89,7 @@ and_test: not_test ('and' not_test)*
 not_test: 'not' not_test | comparison
 comparison: expr (comp_op expr)*
 # <> isn't actually a valid comparison operator in Python. It's here for the
-# sake of a __future__ import described in PEP 401
+# sake of a __future__ import described in PEP 401 (which really works :-)
 comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not'
 star_expr: '*' expr
 expr: xor_expr ('|' xor_expr)*