summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authornjsmith <njs@pobox.com>2013-08-13 02:02:25 -0700
committernjsmith <njs@pobox.com>2013-08-13 02:02:25 -0700
commitd62f11d7e149bf8406974093e5254200471d2745 (patch)
treef69fea8403fbfac1eb242b3e14f490ee1cfa47fd /numpy
parentfc800230de0d4e138e6088da4b2155559d0e710a (diff)
parent320a0ca4e7983ed7a9cc12f18af5ff075cd4d26d (diff)
downloadnumpy-d62f11d7e149bf8406974093e5254200471d2745.tar.gz
Merge pull request #3612 from jnothman/patch-1
DOC fix legacy a.size() -> a.size in np.ravel docstring
Diffstat (limited to 'numpy')
-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
--------