annotate example/listcomp.py @ 70:c9b9165abb9e

Rename test_functiondef_decorators to test_decorators as it contains a test for classdef decorators too.
author Bastien Orivel <eijebong@bananium.fr>
date Mon, 13 Jun 2016 17:56:38 +0200
parents 719a27f1c1c7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14
719a27f1c1c7 Add ast.ListComp
Bastien Orivel <eijebong@bananium.fr>
parents:
diff changeset
1 l = [v for v in range(5) if v % 2]