Skip to content

Commit 33c7217

Browse files
committed
Add stub for sys.gettrace
1 parent 64749de commit 33c7217

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/SysModuleBuiltins.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -668,4 +668,12 @@ boolean doGeneric() {
668668
}
669669
}
670670

671+
@Builtin(name = "gettrace")
672+
@GenerateNodeFactory
673+
abstract static class GetTrace extends PythonBuiltinNode {
674+
@Specialization
675+
static Object gettrace() {
676+
return PNone.NONE;
677+
}
678+
}
671679
}

0 commit comments

Comments
 (0)