summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-05-06 11:49:09 -0400
committerCharles Harris <charlesr.harris@gmail.com>2015-05-06 11:49:09 -0400
commit90d3778dbe130670b258e9185b3d504199bf7327 (patch)
tree00994f021e19473793fe21482b0ae896275d3077
parenteecb2e3c07f29c0ac991d364a846a2f8293a432a (diff)
parent682cd97e1f4485aa92e40684f7966d66a4a7371b (diff)
downloadnumpy-90d3778dbe130670b258e9185b3d504199bf7327.tar.gz
Merge pull request #5845 from ewmoore/broadcast_to_doc
DOC: note versionadded for broadcast_to
-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])