Skip to content Skip to sidebar Skip to footer
Showing posts with the label Introspection

Detecting Bound Method In Classes (not Instances) In Python 3

Given a class C with a function or method f, I use inspect.ismethod(obj.f) (where obj is an instanc… Read more Detecting Bound Method In Classes (not Instances) In Python 3

Looping Over A Python / Ironpython Object Methods

What is the proper way to loop over a Python object's methods and call them? Given the object: … Read more Looping Over A Python / Ironpython Object Methods

Aliased Name Of A Function In Python

I want to find the name of the function as it was called ... i.e. the name of the variable that cal… Read more Aliased Name Of A Function In Python