Skip to content

Commit

Permalink
Merge b9d995e into e8ff5e2
Browse files Browse the repository at this point in the history
  • Loading branch information
kazakhpunk committed May 8, 2024
2 parents e8ff5e2 + b9d995e commit 66ece31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/numpy/numpy-basics.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@
"source": [
"### Slices\n",
"\n",
"Slicing syntax is written as `array[start:stop[:step]]`, where **all numbers are optional**.\n",
"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",
"- defaults: \n",
" - start = 0\n",
" - stop = len(dim)\n",
Expand Down

0 comments on commit 66ece31

Please sign in to comment.