summaryrefslogtreecommitdiff
path: root/numpy/matrixlib/defmatrix.py
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-04-03 14:32:16 +0100
committerEric Wieser <wieser.eric@gmail.com>2017-04-20 22:22:42 +0100
commit7b64ca6a1278195ed109532d42c9ccb334a4438a (patch)
tree3f21e40c6cf7270f655657f6a1ee90fa9884e5d1 /numpy/matrixlib/defmatrix.py
parentd5361b7c064eabe00d85cfb14965c9154a11015c (diff)
downloadnumpy-7b64ca6a1278195ed109532d42c9ccb334a4438a.tar.gz
DOC: Improve release notes and cross-references
Based on feedback in #7768
Diffstat (limited to 'numpy/matrixlib/defmatrix.py')
-rw-r--r--numpy/matrixlib/defmatrix.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/matrixlib/defmatrix.py b/numpy/matrixlib/defmatrix.py
index 7026fad1a..f212a8c5e 100644
--- a/numpy/matrixlib/defmatrix.py
+++ b/numpy/matrixlib/defmatrix.py
@@ -1137,8 +1137,8 @@ def bmat(obj, ldict=None, gdict=None):
Parameters
----------
obj : str or array_like
- Input data. Names of variables in the current scope may be
- referenced, even if `obj` is a string.
+ Input data. If a string, variables in the current scope may be
+ referenced by name.
ldict : dict, optional
A dictionary that replaces local operands in current frame.
Ignored if `obj` is not a string or `gdict` is `None`.
@@ -1153,7 +1153,9 @@ def bmat(obj, ldict=None, gdict=None):
See Also
--------
- matrix
+ block :
+ A generalization of this function for N-d arrays, that returns normal
+ `ndarray`s.
Examples
--------