[Numpy-svn] [numpy/numpy] e22492: ENH: Alias broadcast.ndim to broadcast.nd
GitHub
noreply at github.com
Fri Jun 17 15:53:51 EDT 2016
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: e22492340f9d89ee77f0dc3fbfcd499c855a9d14
https://github.com/numpy/numpy/commit/e22492340f9d89ee77f0dc3fbfcd499c855a9d14
Author: Eric Wieser <wieser.eric at gmail.com>
Date: 2016-06-15 (Wed, 15 Jun 2016)
Changed paths:
M numpy/add_newdocs.py
M numpy/core/src/multiarray/iterators.c
M numpy/core/tests/test_numeric.py
Log Message:
-----------
ENH: Alias broadcast.ndim to broadcast.nd
Both `ndarray` and `nditer` spell this property `ndim`, so broadcast
objects should too. The existing property remains for compatibility
Commit: 71c18e964e36f3875db867ae45b6e22fb551ae85
https://github.com/numpy/numpy/commit/71c18e964e36f3875db867ae45b6e22fb551ae85
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-06-17 (Fri, 17 Jun 2016)
Changed paths:
M numpy/add_newdocs.py
M numpy/core/tests/test_numeric.py
Log Message:
-----------
MAINT: Tweak documentation of broadcast.nd and broadcast.ndim.
Note that the newly added `ndim` property is an alias for `nd` and
not available in numpy versions earlier than 1.12.
Add back the tests for `nd`. They can be removed if/when `nd` is
dropped.
Commit: d3afd5057ca05ae7d315c68e5009b3ee183860e3
https://github.com/numpy/numpy/commit/d3afd5057ca05ae7d315c68e5009b3ee183860e3
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2016-06-17 (Fri, 17 Jun 2016)
Changed paths:
M numpy/add_newdocs.py
M numpy/core/src/multiarray/iterators.c
M numpy/core/tests/test_numeric.py
Log Message:
-----------
Merge pull request #7754 from charris/update-7612
Update 7612, ENH: Add broadcast.ndim to match code elsewhere.
Compare: https://github.com/numpy/numpy/compare/4ccf3d7378a5...d3afd5057ca0
More information about the Numpy-svn
mailing list