Skip to content

Commit 40120e7

Browse files
committed
Fixed link in BinaryVector docstring
1 parent 9fadf97 commit 40120e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bson/binary.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,10 +256,8 @@ def __init__(
256256
:param padding: The number of bits in the final byte that are to be ignored
257257
when a vector element's size is less than a byte
258258
and the length of the vector is not a multiple of 8.
259-
(This is equivalent to a negative value of `count` in`numpy.unpackbits`_)
260-
261-
.. _numpy.unpackbits: https://numpy.org/doc/stable/reference/generated/numpy.unpackbits.html
262-
259+
(This is equivalent to a negative value of `count` in
260+
`numpy.unpackbits <https://numpy.org/doc/stable/reference/generated/numpy.unpackbits.html>`_)
263261
"""
264262
self.data = data
265263
self.dtype = dtype

0 commit comments

Comments
 (0)