Skip to content

Commit b3187c9

Browse files
committed
arbitrary objects may support the method
1 parent 98d4f3b commit b3187c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ Object fail(PythonClass cls, Object arg, Object keywordArg) {
696696
}
697697

698698
@Specialization(guards = "isNoValue(keywordArg)")
699-
public Object createInt(PythonClass cls, PythonObject obj, PNone keywordArg,
699+
public Object createInt(PythonClass cls, Object obj, PNone keywordArg,
700700
@Cached("create(__INT__)") LookupAndCallUnaryNode callIntNode,
701701
@Cached("createBinaryProfile()") ConditionProfile isIntProfile) {
702702
try {

0 commit comments

Comments
 (0)