only one method for given name rule when the python compiler digests method definitionit creates function binding for the name of the method for examplefor the following code fragment class xdef foo(selfarg arg )implemention_of_foo rest_of_class_x the compiler will introduce the name foo as key in the namespace dictionary for class the value entered for this key will be the function object corresponding to the body of the method definition purdue university