summaryrefslogtreecommitdiffstats
path: root/Grammar
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2014-08-05 15:56:52 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2014-08-05 15:56:52 (GMT)
commitec3af4e6aa6edef6ec9fe977bc5f63130184efc5 (patch)
treed194e9d17ff283a9a4f83b319effb4acf539fe46 /Grammar
parent7c549c4e6445b25c95491571af8dfa6532570866 (diff)
downloadcpython-ec3af4e6aa6edef6ec9fe977bc5f63130184efc5.zip
cpython-ec3af4e6aa6edef6ec9fe977bc5f63130184efc5.tar.gz
cpython-ec3af4e6aa6edef6ec9fe977bc5f63130184efc5.tar.bz2
Issue #21972: Make it clear that the PEP 401 future import works,
despite the PEP being rejected.
Diffstat (limited to 'Grammar')
-rw-r--r--Grammar/Grammar2
1 files changed, 1 insertions, 1 deletions
diff --git a/Grammar/Grammar b/Grammar/Grammar
index 354fe60..6c012c0 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)*