Skip to content

Commit 24319d9

Browse files
authored
Fix char repr (#1699)
1 parent 3d39a7d commit 24319d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Src/IronPython/Runtime/Operations/CharOps.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static object __new__(PythonType cls, char value) {
3333
return value;
3434
}
3535

36-
public static string __repr__(char self) => char.ToString(self);
36+
public static string __repr__(char self) => StringOps.__repr__(char.ToString(self));
3737

3838
public static int __hash__(char self) => char.ToString(self).GetHashCode();
3939

0 commit comments

Comments
 (0)