Python: Remove debug function

This commit is contained in:
Rasmus Lerchedahl Petersen
2021-01-27 08:24:11 +01:00
parent d29fdda779
commit 5d62a56ed8

View File

@@ -416,12 +416,6 @@ module ArgumentPassing {
*
* NOT SUPPORTED: Keyword-only parameters.
*/
Node testGetArg(CallNode call, int n, DataFlowCallable callable) {
result.getLocation().getStartLine() = 685 and
result.getLocation().getFile().getBaseName() = "ElementTree.py" and
result = getArg(call, TNoShift(), callable.getCallableValue(), n)
}
Node getArg(CallNode call, ArgParamMapping mapping, CallableValue callable, int paramN) {
connects(call, callable) and
(