Open anjiro opened 4 weeks ago
This would maybe a be a bit tricky. These get converted to JSON types (that output is called the json-viewer), so set/list/tuple all get converted to array
As another vote for this issue: the default output for sys.version_info
is not so easy to understand.
It's a version tuple.
Description
Cell output for types of
list
andtuple
is identical if the contents of the collection is identical. For example:Suggested solution
Instead of representing a tuple as
show it as
This would be in line with the representation of the
dict
type which uses curly braces.Alternative
No response
Additional context
No response