uot;
>>> a.b = new_b()
>>>a()
tee hee
3
>>> print x
5
or perhaps:
>>> # Interestingly, the following code is valid already
...
>>> def Person(name, age, location):
... def print_record():
... print('The last person created had the nam
[EMAIL PROTECTED] wrote:
> Tangent (Utter Tomfoolery)
>
> More interestingly, one sees (if one squints) the distinction
> between modules,
> classes, and functions blur:
>
> >>> def new_b():
> ... print "tee hee"
> >>> a.b = new_b()
> >>>a()
> tee hee
> 3
> >>> print x
> 5
>
After