diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2020-06-10 15:29:15 -0700 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2020-06-10 15:29:15 -0700 |
commit | 5300d20fec0d3b06c1e7e5623db06c2e6f8eaee9 (patch) | |
tree | fa29c9ed4a1f3e937fe3ef7f7a57c8ed69277a46 | |
parent | ccfe54db8b187a2683055fb98aa6a8119fc7f0b6 (diff) | |
download | numpy-5300d20fec0d3b06c1e7e5623db06c2e6f8eaee9.tar.gz |
DOC: remove K from order parameter options.
Matches the order parameter options.
-rw-r--r-- | numpy/core/_add_newdocs.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/core/_add_newdocs.py b/numpy/core/_add_newdocs.py index ae8bc965e..015dc3250 100644 --- a/numpy/core/_add_newdocs.py +++ b/numpy/core/_add_newdocs.py @@ -3945,11 +3945,10 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('tobytes', """ Parameters ---------- - order : {'C', 'F', 'A', 'K'}, optional + order : {'C', 'F', 'A'}, optional Controls the memory layout of the bytes object. 'C' means C-order, - 'F' means F-order, 'A' means 'F' if `a` is Fortran contiguous, - 'C' otherwise. 'K' means match the layout of `a` as closely - as possible. Default is 'C'. + 'F' means F-order, 'A' (short for *Any*) means 'F' if `a` is + Fortran contiguous, 'C' otherwise. Default is 'C'. Returns ------- |