diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2019-11-11 23:13:04 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2019-11-11 23:16:59 +0000 |
commit | 035ef5ac3ca52b9f14ea3effe739c6aaca9411bc (patch) | |
tree | 84849098f6b152292774c3905514321dcba9c8c7 /numpy/polynomial/polyutils.py | |
parent | c592bf2210567ea58bc52f8e15a5f0de582f889b (diff) | |
download | numpy-035ef5ac3ca52b9f14ea3effe739c6aaca9411bc.tar.gz |
BUG: Fix np.__dir__ to correctly handle new properties
Previously this would fail, but only on python 3.7+
```
np.new_member = 1
assert 'new_member' in dir(np)
```
While this isn't something we support anyway, it certainly wasn't intentional.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions