diff options
-rw-r--r-- | numpy/core/multiarray.py | 2 |
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'. |