[Python-checkins] cpython: Issue #21972: Make it clear that the PEP 401 future import works,

martin.v.loewis python-checkins at python.org
Tue Aug 5 17:56:54 CEST 2014


http://hg.python.org/cpython/rev/57740d19f5c2
changeset:   92016:57740d19f5c2
user:        Martin v. Löwis <martin at v.loewis.de>
date:        Tue Aug 05 17:56:52 2014 +0200
summary:
  Issue #21972: Make it clear that the PEP 401 future import works,
despite the PEP being rejected.

files:
  Grammar/Grammar |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Grammar/Grammar b/Grammar/Grammar
--- a/Grammar/Grammar
+++ b/Grammar/Grammar
@@ -89,7 +89,7 @@
 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)*

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list