I think you got that right, Rob. A method created in a class is normally
expected to care about the class in the sense that it often wants to access
internal aspects and is given a "this" or "self" or whatever name you choose as
a first argument. As noted, it is sometimes possible to create a
This puzzled me at first, but I think others have nailed it. It is not
to do with the 'with' statement, but with the way functions are defined.
When a class is instantiated, as in x=X():
the instance object gets (at least in effect), as attributes,
copies of functions defined *in the class*