Skip to content

Commit dbdf48c

Browse files
committed
Fix quoting in frame __repr__
1 parent 42c344a commit dbdf48c

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/frame/FrameBuiltins.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ String repr(VirtualFrame frame, PFrame self,
8383

8484
@TruffleBoundary
8585
private static String getFormat(PFrame self, PCode code, int lineno) {
86-
return String.format("<frame at 0x%x, file %s, line %d, code %s>",
86+
return String.format("<frame at 0x%x, file '%s', line %d, code %s>",
8787
self.hashCode(), code.getFilename(), lineno, code.getName());
8888
}
8989
}

0 commit comments

Comments
 (0)