tests/failure/keyword_conflict.py | raw changeset files shortlog |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tests/failure/keyword_conflict.py Thu Mar 20 01:13:48 2008 +0100 1.3 @@ -0,0 +1,18 @@ 1.4 +#!/usr/bin/env python 1.5 + 1.6 +def f(a, b, c): 1.7 + pass 1.8 + 1.9 +g = f 1.10 +g(1, a=3, b=2) # uncertain target - not detected 1.11 + 1.12 +def g(a, c, b): 1.13 + pass 1.14 + 1.15 +g(1, a=3, b=2) 1.16 + 1.17 +f(1, 2, 3) 1.18 +f(1, a=2, c=3) 1.19 +f(c=3, b=2, a=1) 1.20 + 1.21 +# vim: tabstop=4 expandtab shiftwidth=4