summaryrefslogtreecommitdiffstats
path: root/Lib/test/output/test_grammar
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2000-08-22 02:43:07 (GMT)
committerSkip Montanaro <skip@pobox.com>2000-08-22 02:43:07 (GMT)
commit46dfa5f4ed16c64edc845fffd4a5e2517415a2d6 (patch)
tree0357b1bd28ca24138dec5bac32bab2f70e988929 /Lib/test/output/test_grammar
parent2823f03a56451f3187a1d85ffcef107f00f6f48e (diff)
downloadcpython-46dfa5f4ed16c64edc845fffd4a5e2517415a2d6.zip
cpython-46dfa5f4ed16c64edc845fffd4a5e2517415a2d6.tar.gz
cpython-46dfa5f4ed16c64edc845fffd4a5e2517415a2d6.tar.bz2
require list comprehensions to start with a for clause
Diffstat (limited to 'Lib/test/output/test_grammar')
-rw-r--r--Lib/test/output/test_grammar1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/output/test_grammar b/Lib/test/output/test_grammar
index 203cf18..8a0c531 100644
--- a/Lib/test/output/test_grammar
+++ b/Lib/test/output/test_grammar
@@ -55,4 +55,5 @@ classdef
[(1, 'Apple'), (1, 'Banana'), (1, 'Coconut'), (2, 'Apple'), (2, 'Banana'), (2, 'Coconut'), (3, 'Apple'), (3, 'Banana'), (3, 'Coconut'), (4, 'Apple'), (4, 'Banana'), (4, 'Coconut'), (5, 'Apple'), (5, 'Banana'), (5, 'Coconut')]
[(1, 'Banana'), (1, 'Coconut'), (2, 'Banana'), (2, 'Coconut'), (3, 'Banana'), (3, 'Coconut'), (4, 'Banana'), (4, 'Coconut'), (5, 'Banana'), (5, 'Coconut')]
good: got a SyntaxError as expected
+good: got a SyntaxError as expected
[('Boeing', 'Airliner'), ('Boeing', 'Engine'), ('Ford', 'Engine'), ('Macdonalds', 'Cheeseburger')]