summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2020-05-19 17:41:03 -0500
committerGitHub <noreply@github.com>2020-05-19 17:41:03 -0500
commitf10a3df5f0b8434bf7c33faf00719c84333e65a0 (patch)
tree397d060b7d360f3490ea26f1b6f85fb8a6a20618 /numpy
parentd329a66dbb9710aefd03cce6a8b0f46da51490ca (diff)
parent043799295f82b01235479d5b323de4598dca48a0 (diff)
downloadnumpy-f10a3df5f0b8434bf7c33faf00719c84333e65a0.tar.gz
Merge pull request #16305 from Carreau/doc-micro-fix
DOC: Fix packbits documentation rendering,
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/multiarray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py
index 5ae6a4272..2cc2a8e71 100644
--- a/numpy/core/multiarray.py
+++ b/numpy/core/multiarray.py
@@ -1139,7 +1139,7 @@ def packbits(a, axis=None, bitorder='big'):
``None`` implies packing the flattened array.
bitorder : {'big', 'little'}, optional
The order of the input bits. 'big' will mimic bin(val),
- ``[0, 0, 0, 0, 0, 0, 1, 1] => 3 = 0b00000011 => ``, 'little' will
+ ``[0, 0, 0, 0, 0, 0, 1, 1] => 3 = 0b00000011``, 'little' will
reverse the order so ``[1, 1, 0, 0, 0, 0, 0, 0] => 3``.
Defaults to 'big'.