Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Concrete Slice Source # | |
Defined in CPython.Types.Slice concreteType :: Slice -> Type | |
Object Slice Source # | |
Defined in CPython.Types.Slice toObject :: Slice -> SomeObject Source # fromForeignPtr :: ForeignPtr Slice -> Slice |
Return a new slice object with the given values. The start, stop,
and step parameters are used as the values of the slice object
attributes of the same names. Any of the values may be Nothing
, in which
case None
will be used for the corresponding attribute.