tests/failure/shadow_globals_builtins_conflict_implicit.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/failure/shadow_globals_builtins_conflict_implicit.py Mon Jun 14 01:46:42 2010 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +x = [1, 2, 3] 1.7 + 1.8 +if not x: 1.9 + def len(arg): 1.10 + return 0 1.11 + 1.12 +y = len(x) 1.13 + 1.14 +# vim: tabstop=4 expandtab shiftwidth=4