diff options
| author | Ahmet Can Solak <asolak14@ku.edu.tr> | 2021-06-07 09:59:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-07 09:59:52 -0700 |
| commit | 0b2d3b191e181d34f7118a740c73585bbfbf0b4d (patch) | |
| tree | 3af2edd4317ce796fa20293d2cdae00d918ecd37 /numpy/lib | |
| parent | 26a3f719eb4904274a79c61317eb4b3a20fa452c (diff) | |
| download | numpy-0b2d3b191e181d34f7118a740c73585bbfbf0b4d.tar.gz | |
Update numpy/lib/index_tricks.py
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Diffstat (limited to 'numpy/lib')
| -rw-r--r-- | numpy/lib/index_tricks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py index 20bb7e170..d54df2776 100644 --- a/numpy/lib/index_tricks.py +++ b/numpy/lib/index_tricks.py @@ -631,7 +631,8 @@ class ndindex: Examples -------- - >>> # dimensions as individual arguments + Dimensions as individual arguments + >>> for index in np.ndindex(3, 2, 1): ... print(index) (0, 0, 0) |
