Slice Attributes
slice.start
Raw starting bound supplied to slice(), or None when omitted. It may be negative, outside the target sequence, or an object that is not a valid index; normalization and validation happen later. This read-only attribute preserves the original object reference, not a converted integer. Use indices(length) to normalize for a concrete sequence.
Formal Syntax & Structure
python syntaxpython
value.startReturn Value
object | None
Original argument or None.
Working Example
Example Snippetpython
s = slice(-3, None, 2)print(s.start)print(slice(4).start)