From: Martin v. Löwis Date: Tue, 5 Aug 2014 15:56:52 +0000 (+0200) Subject: Issue #21972: Make it clear that the PEP 401 future import works, X-Git-Tag: v3.5.0a1~1114 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec3af4e6aa6edef6ec9fe977bc5f63130184efc5;p=python Issue #21972: Make it clear that the PEP 401 future import works, despite the PEP being rejected. --- diff --git a/Grammar/Grammar b/Grammar/Grammar index 354fe60769..6c012c06ee 100644 --- a/Grammar/Grammar +++ b/Grammar/Grammar @@ -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)*