2 ms·
Python is pretty close to this. Assuming that foo is an instance of class Bar, foo.method(x) Is equivalent[1] to Bar.method(foo, x) [1] in the absence of mo
by kd5bjo 9y ago
Python is pretty close to this. Assuming that foo is an instance of class Bar,
foo.method(x)
Is equivalent[1] to
Bar.method(foo, x)
[1] in the absence of monkey patching on foo