for the sake of analysing a python project, I need a tool that given the code and a line number will provide me with the signature of the method the line represents: module_name.[class.]method_name. Due to python indentation parsing it should be really simple but I didn't find such a tool.
(apparently rope doesn't fit my needs)