Originally published at
www.ikriv.com. Please leave any
comments there.
Coming from C# background, I was trying to understand whether Python allows to pass obj.method where ordinary function is expected, and if yes, how could it possibly work.
Consider this code fragment:
def call_twice(f
(
Read more... )