
7 Oct
2016
7 Oct
'16
1:19 a.m.
Currently str(slice(10)) returns "slice(None, 10, None)"
If the start and step are None, consider not emitting them. Similarly slice(None) is rendered slice(None, None, None).
When you're printing a lot of slices, it's a lot of extra noise.