Files
2020-03-30 11:59:10 +02:00

8 lines
202 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()