HYRY a écrit : >> There's no such thing as an "original method" - what's stored as an >> attribute of the class is a plain function. FWIW, you can get at this >> function quite easily - via the im_func attribute of the method. > > I know about im_func, but I tried the im_func attribute of append and > I get error: 'builtin_function_or_method' object has no attribute > 'im_func'
Hmm, yes, of course. builtin C implementation here... (snip use case) -- http://mail.python.org/mailman/listinfo/python-list