Skip to content

Commit ec3dee5

Browse files
committed
Fix generator repr
1 parent cd5819a commit ec3dee5

File tree

1 file changed

+1
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/generator

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/generator/PGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public boolean isPRangeIterator() {
193193

194194
@Override
195195
public String toString() {
196-
return "<generator object '" + name + "' at " + hashCode() + ">";
196+
return "<generator object " + name + " at " + hashCode() + ">";
197197
}
198198

199199
public static PGenerator require(Object value) {

0 commit comments

Comments
 (0)