summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2010-10-26 15:59:37 -0700
committerPauli Virtanen <pav@iki.fi>2010-10-27 11:14:09 +0200
commitfd19f049670b8dd609f65e34d0267b6491635d1a (patch)
treefbaeef11053fb3e48b3f76eb466cd519c9e1a0de /numpy/add_newdocs.py
parent05be85cca392b65a82cdd12d423b2b26fb5c83e8 (diff)
downloadnumpy-fd19f049670b8dd609f65e34d0267b6491635d1a.tar.gz
BUG: core: Enabled keyword argument for 'order' parameter where it was missing, and tweaked some docs (#1581)
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 3557c00a3..14cd2a890 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -2421,8 +2421,9 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('flatten',
Parameters
----------
- order : {'C', 'F'}, optional
- Whether to flatten in C (row-major) or Fortran (column-major) order.
+ order : {'C', 'F', 'A'}, optional
+ Whether to flatten in C (row-major), Fortran (column-major) order,
+ or preserve the C/Fortran ordering from `a`.
The default is 'C'.
Returns