CodeQL library for Python
codeql/python-all 0.9.2 ( changelog , source )

Member predicate MethodCallNode :: getMethodName

Gets the name of the method being invoked (the bar in if it can be determined.

Note that this method may have multiple results if a single call node represents calls to multiple different objects and methods. If you want to link up objects and method names accurately, use the calls method instead.

string getMethodName ( )