diff options
author | Skip Montanaro <skip@pobox.com> | 2000-08-12 18:09:51 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2000-08-12 18:09:51 (GMT) |
commit | 803d6e5451cbf0416bfb252eedba36ff2e354fac (patch) | |
tree | e37c0cf52e141c341e6b8a64a5d7e7691313df41 /Lib/test/output/test_grammar | |
parent | b16b83534d008d45a2917bd2c4fd65010909dff2 (diff) | |
download | cpython-803d6e5451cbf0416bfb252eedba36ff2e354fac.zip cpython-803d6e5451cbf0416bfb252eedba36ff2e354fac.tar.gz cpython-803d6e5451cbf0416bfb252eedba36ff2e354fac.tar.bz2 |
list comprehensions. see
http://sourceforge.net/patch/?func=detailpatch&patch_id=100654&group_id=5470
for details.
Diffstat (limited to 'Lib/test/output/test_grammar')
-rw-r--r-- | Lib/test/output/test_grammar | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/output/test_grammar b/Lib/test/output/test_grammar index 1926e4d..b075d35 100644 --- a/Lib/test/output/test_grammar +++ b/Lib/test/output/test_grammar @@ -45,3 +45,10 @@ selectors atoms classdef +['Apple', 'Banana', 'Coco nut'] +[3, 6, 9, 12, 15] +[3, 4, 5] +[(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 +[('Boeing', 'Airliner'), ('Boeing', 'Engine'), ('Ford', 'Engine'), ('Macdonalds', 'Cheeseburger')] |