1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/tests/class_method_changed.py Mon Jul 01 02:10:23 2013 +0200
1.3 @@ -0,0 +1,22 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +class C:
1.7 + def f(self):
1.8 + return 1
1.9 +
1.10 + def g(self):
1.11 + return 2
1.12 +
1.13 + def f(self): # is f#2
1.14 + return 3
1.15 +
1.16 + g = f # g = f#2
1.17 +
1.18 + def f(self): # is f#3
1.19 + return 5
1.20 +
1.21 +c = C()
1.22 +result1_3 = c.f()
1.23 +result2_3 = c.g()
1.24 +
1.25 +# vim: tabstop=4 expandtab shiftwidth=4