Files
2018-11-19 15:15:54 +00:00

10 lines
196 B
Plaintext

import python
from Call c, FunctionObject f
where c.getFunc().(Attribute).getObject().(Name).getId() = "self"
and
f.getACall().getNode() = c
select c.getLocation().getStartLine(), f.toString()