summaryrefslogtreecommitdiff
path: root/numpy/lib/stride_tricks.py
diff options
context:
space:
mode:
authorEric Moore <ewm@redtetrahedron.org>2015-05-06 08:51:07 -0400
committerEric Moore <ewm@redtetrahedron.org>2015-05-06 08:52:09 -0400
commit682cd97e1f4485aa92e40684f7966d66a4a7371b (patch)
tree00994f021e19473793fe21482b0ae896275d3077 /numpy/lib/stride_tricks.py
parenteecb2e3c07f29c0ac991d364a846a2f8293a432a (diff)
downloadnumpy-682cd97e1f4485aa92e40684f7966d66a4a7371b.tar.gz
DOC: note versionadded for broadcast_to
closes gh-5839
Diffstat (limited to 'numpy/lib/stride_tricks.py')
-rw-r--r--numpy/lib/stride_tricks.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/stride_tricks.py b/numpy/lib/stride_tricks.py
index e7649cb60..c05d56e2f 100644
--- a/numpy/lib/stride_tricks.py
+++ b/numpy/lib/stride_tricks.py
@@ -97,6 +97,10 @@ def broadcast_to(array, shape, subok=False):
If the array is not compatible with the new shape according to NumPy's
broadcasting rules.
+ Notes
+ -----
+ .. versionadded:: 1.10.0
+
Examples
--------
>>> x = np.array([1, 2, 3])