File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 42
42
import com .oracle .graal .python .builtins .objects .tuple .PTuple ;
43
43
import com .oracle .graal .python .nodes .call .special .LookupAndCallUnaryNode ;
44
44
import com .oracle .graal .python .nodes .function .PythonBuiltinNode ;
45
+ import com .oracle .graal .python .nodes .function .builtins .PythonUnaryBuiltinNode ;
45
46
import com .oracle .graal .python .nodes .truffle .PythonArithmeticTypes ;
46
47
import com .oracle .graal .python .runtime .exception .PythonErrorType ;
47
48
import com .oracle .graal .python .runtime .object .PythonObjectFactory ;
@@ -958,7 +959,7 @@ public abstract static class PowNode extends PythonBuiltinNode {
958
959
959
960
@ Builtin (name = "trunc" , fixedNumOfArguments = 1 )
960
961
@ GenerateNodeFactory
961
- public abstract static class TruncNode extends PythonBuiltinNode {
962
+ public abstract static class TruncNode extends PythonUnaryBuiltinNode {
962
963
963
964
@ Specialization
964
965
Object trunc (Object obj ,
You can’t perform that action at this time.
0 commit comments