summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorjnothman <jnothman@student.usyd.edu.au>2013-08-13 19:00:46 +1000
committerjnothman <jnothman@student.usyd.edu.au>2013-08-13 19:00:46 +1000
commit320a0ca4e7983ed7a9cc12f18af5ff075cd4d26d (patch)
treef69fea8403fbfac1eb242b3e14f490ee1cfa47fd /numpy/core/fromnumeric.py
parentfc800230de0d4e138e6088da4b2155559d0e710a (diff)
downloadnumpy-320a0ca4e7983ed7a9cc12f18af5ff075cd4d26d.tar.gz
DOC fix legacy a.size() -> a.size in np.ravel docstring
Diffstat (limited to 'numpy/core/fromnumeric.py')
-rw-r--r--numpy/core/fromnumeric.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/fromnumeric.py b/numpy/core/fromnumeric.py
index 0dacd4bca..64dfddfbb 100644
--- a/numpy/core/fromnumeric.py
+++ b/numpy/core/fromnumeric.py
@@ -1303,7 +1303,7 @@ def ravel(a, order='C'):
Returns
-------
1d_array : ndarray
- Output of the same dtype as `a`, and of shape ``(a.size(),)``.
+ Output of the same dtype as `a`, and of shape ``(a.size,)``.
See Also
--------