summaryrefslogtreecommitdiff
path: root/numpy/core/multiarray.py
diff options
context:
space:
mode:
authorMatthias Bussonnier <bussonniermatthias@gmail.com>2020-05-19 14:38:05 -0700
committerMatthias Bussonnier <bussonniermatthias@gmail.com>2020-05-19 14:42:52 -0700
commit043799295f82b01235479d5b323de4598dca48a0 (patch)
tree397d060b7d360f3490ea26f1b6f85fb8a6a20618 /numpy/core/multiarray.py
parentd329a66dbb9710aefd03cce6a8b0f46da51490ca (diff)
downloadnumpy-043799295f82b01235479d5b323de4598dca48a0.tar.gz
DOC: Fix documentation rendering,
the => seem to be extra and rst seem to not interprete backtick with leading space as closing a directive, the the full line on text was put in a html pre-tag when building the docs. see current https://numpy.org/doc/stable/reference/generated/numpy.packbits.html
Diffstat (limited to 'numpy/core/multiarray.py')
-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'.