Let's say you have a particular method (function) from a particular module
(of a particular class, optional). Is it possible via introspection of the library source code print all the lines where that method is called (used)?
It can be called internally (with self.method\_name()) or externally with
(object1.method\_name() in source file 1, object2.method\_name() in source
file 2, ... and objectN.method\_name() in source file N).

An example could be shown on `re` module and it's method `re.findall`.

I tried to print the lines with `grep`, but this is a problem for
methods having the same name (e.g. I tried it with method named connect(),
but 24 classes have a method named connect... I'd like to filter this for
particular class (and/or module).