File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -241,9 +241,11 @@ def prettyprint(
241
241
unflattened_str = str (unflattened )
242
242
# NOTE Collections of strings (so collections of names) print like this --
243
243
# ('a', 'b') -- but we want them to print like this -- (a, b) --
244
- # so this just removes all the single quotes -- this seems super hacky
244
+ # so this just removes all the quotes -- this seems super hacky
245
245
unflattened_str = unflattened_str .replace (f"{ _quote_marker } '" , "" )
246
246
unflattened_str = unflattened_str .replace (f"'{ _quote_marker } " , "" )
247
+ unflattened_str = unflattened_str .replace (f'{ _quote_marker } "' , "" )
248
+ unflattened_str = unflattened_str .replace (f'"{ _quote_marker } ' , "" )
247
249
return unflattened_str
248
250
if isinstance (x , dtypes .dtype ):
249
251
# str(x) -> thunder.dtypes.foo
You can’t perform that action at this time.
0 commit comments