29 Apr
2007
29 Apr
'07
8:31 p.m.
Phillip J. Eby wrote:
a __call__ method, it will still be called, even if you override __getattribute__ to return something else
dc = DoubleCall() dc() 'called!' dc.__call__() 'attribute'
That is sufficiently fragile that I would be uncomfortable with a feature that couldn't be supplied otherwise. -jJ
6206
Age (days ago)
6206
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jim Jewett