From 043799295f82b01235479d5b323de4598dca48a0 Mon Sep 17 00:00:00 2001 From: Matthias Bussonnier Date: Tue, 19 May 2020 14:38:05 -0700 Subject: 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 --- numpy/core/multiarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/multiarray.py') 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'. -- cgit v1.2.1