Decorator question (how to test if decorated function is in a class)

Martin P. Hellwig martin.hellwig at dcuktec.org
Sun Jun 21 02:02:48 CEST 2009


Bruno Desthuilliers wrote:
<cut>
> Short answer: this makes no sense.
Absolutely right, took me a while to figure that out though :-)

Lesson learned (again): If it really seems impossible to do something in 
Python, it is likely the proposed solution is flawed.

-- 
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'



More information about the Python-list mailing list