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

Member predicate BuiltinOpaqueObjectInternal::getOrigin

Gets a control flow node that represents the source origin of this object, if it has a meaningful location in the source code. This method exists primarily for providing backwards compatibility and locations for source objects. Source code objects should attempt to return exactly one result for this method.

ControlFlowNode getOrigin()