summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-10-17 15:46:31 -0500
committerGitHub <noreply@github.com>2018-10-17 15:46:31 -0500
commit4126f6603dff45a53dbc2b8206ea928aaf60ca17 (patch)
treec17b8a36d8a2d829ffad07ddc35d20c5ef8844f2 /numpy
parentd9515e3c62a0e766cef33c921fb24546deb881a8 (diff)
parent04ce41a2cb75f37addc1aabcaa7098c17e2fdbfd (diff)
downloadnumpy-4126f6603dff45a53dbc2b8206ea928aaf60ca17.tar.gz
Merge pull request #12159 from tylerjereddy/nd_grid_len_test
MAINT: remove unused nd_grid __len__
Diffstat (limited to 'numpy')
-rw-r--r--numpy/lib/index_tricks.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py
index 06bb54bc1..26243d231 100644
--- a/numpy/lib/index_tricks.py
+++ b/numpy/lib/index_tricks.py
@@ -200,9 +200,6 @@ class nd_grid(object):
else:
return _nx.arange(start, stop, step)
- def __len__(self):
- return 0
-
class MGridClass(nd_grid):
"""