Python: Use new API::builtin in stdlib modeling

This commit is contained in:
Rasmus Wriedt Larsen
2021-03-17 15:07:36 +01:00
parent d95b295e52
commit d52d328587
3 changed files with 18 additions and 80 deletions

View File

@@ -8,4 +8,4 @@ def eval(*args, **kwargs):
# This function call might be marked as a code execution, but it actually isn't.
eval("print(42)") # $ SPURIOUS: getCode="print(42)"
eval("print(42)")

View File

@@ -10,4 +10,4 @@ def foo(*args, **kwargs):
eval = foo
# This function call might be marked as a code execution, but it actually isn't.
eval("print(42)") # $ SPURIOUS: getCode="print(42)"
eval("print(42)")