Teks sumber — English
Terjemahan — Bahasa Indonesia
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 ``NULL``, in which case the ``None`` will be used for the corresponding attribute.
Mengembalikan objek slice baru dengan nilai yang diberikan. Parameter *start*, *stop*, dan *step* digunakan sebagai nilai dari atribut objek slice dengan nama yang sama. Nilai mana pun boleh ``NULL``, dalam hal ini ``None`` akan digunakan untuk atribut yang bersangkutan.
The parameter type for the *slice* parameter was ``PySliceObject*`` before.
Tipe parameter untuk parameter *slice* sebelumnya adalah ``PySliceObject*``.