1 #!/usr/bin/env python 2 3 class C: 4 def f(self): 5 return 1 6 7 def g(self): 8 return 2 9 10 def f(self): # is f#2 11 return 3 12 13 g = f # g = f#2 14 15 def f(self): # is f#3 16 return 5 17 18 c = C() 19 result1_3 = c.f() 20 result2_3 = c.g() 21 22 # vim: tabstop=4 expandtab shiftwidth=4