Tuesday 17 July 2018

Python Unbound and Bound Method Calls

Cited from the book "Python How to Program"

A bound method call is invoked by accessing the method name through an object (e.g., anObject.method()). We have seen that Python inserts the object-reference argument for bound method calls. An unbound method call is invoked by accessing the method through its class name and specifically passing an object reference.




No comments:

Post a Comment