Skip to content

Commit a6e5044

Browse files
committed
minor cleanup - removed obsolete instanceof PString check
1 parent b0531d7 commit a6e5044

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/PythonAbstractObject.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,8 +587,6 @@ private static void addKeysFromObject(HashSet<String> keys, PythonObject o, bool
587587
String strKey;
588588
if (k instanceof String) {
589589
strKey = (String) k;
590-
} else if (k instanceof PString) {
591-
strKey = ((PString) k).getValue();
592590
} else {
593591
continue;
594592
}

0 commit comments

Comments
 (0)