File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/nodes/truffle Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 28
28
import com .oracle .graal .python .builtins .objects .cext .PythonNativeClass ;
29
29
import com .oracle .graal .python .builtins .objects .cext .PythonNativeObject ;
30
30
import com .oracle .graal .python .builtins .objects .floats .PFloat ;
31
- import com .oracle .graal .python .builtins .objects .str .PString ;
32
31
import com .oracle .graal .python .nodes .PGuards ;
33
32
import com .oracle .truffle .api .dsl .ImplicitCast ;
34
33
import com .oracle .truffle .api .dsl .TypeCast ;
48
47
@ TypeSystem
49
48
public abstract class PythonArithmeticTypes {
50
49
51
- @ ImplicitCast
52
- public static String PStringToString (PString value ) {
53
- return value .getValue ();
54
- }
55
-
56
50
@ ImplicitCast
57
51
public static double PFloatToDouble (PFloat value ) {
58
52
// NOTE: That's correct because we just use it in arithmetic operations where CPython also
You can’t perform that action at this time.
0 commit comments