Skip to content

Commit 66ece31

Browse files
authored
Merge b9d995e into e8ff5e2
2 parents e8ff5e2 + b9d995e commit 66ece31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/numpy/numpy-basics.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@
700700
"source": [
701701
"### Slices\n",
702702
"\n",
703-
"Slicing syntax is written as `array[start:stop[:step]]`, where **all numbers are optional**.\n",
703+
"Slicing syntax is written as `array[start:stop:step]`. Note that **all numbers are optional**. Importantly, the **step** parameter is optional and can be omitted, in which case the slice uses a default step of 1.\n",
704704
"- defaults: \n",
705705
" - start = 0\n",
706706
" - stop = len(dim)\n",

0 commit comments

Comments
 (0)