Errata
Page 62
Clarification
Function Self Reference
This example also has the problem that if the myFunction variable is deleted or reassigned then its code will not work. The reason is that its code uses myFunction to reference the function object and this is not immutable.
It isn't clear that the example refered to is the one at the end of the previous section that is:
def myFunction(): myFunction.count+=1 myFunction.count=0
The section on self reference is about allowing functions to refer to their own attributes without the danger that the variable that provides the reference is redefined.