slice(start, stop, None) vs slice(start, stop, 1)
slice(start, stop, None) vs slice(start, stop, 1) Question: I was surprised to read here that The start and step arguments default to None since it also says: slice(start, stop, step=1) Return a slice object representing the set of indices specified by range(start, stop, step). So I expected the default argument value for the step parameter …