@@ -57,7 +57,7 @@ Once you have installed the package, you may want to test it:
5757
5858 $ python -c 'import bitarray; bitarray.test()'
5959 bitarray is installed in: /Users/ilan/bitarray/bitarray
60- bitarray version: 3.7.1
60+ bitarray version: 3.7.2
6161 sys.version: 3.13.5 (main, Jun 16 2025) [Clang 18.1.8]
6262 sys.prefix: /Users/ilan/miniforge
6363 pointer size: 64 bit
@@ -319,7 +319,7 @@ and can therefore be used as a dictionary key:
319319 Reference
320320=========
321321
322- bitarray version: 3.7.1 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst >`__
322+ bitarray version: 3.7.2 -- `change log <https://github.com/ilanschnell/bitarray/blob/master/doc/changelog.rst >`__
323323
324324In the following, ``item `` and ``value `` are usually a single bit -
325325an integer 0 or 1.
@@ -697,6 +697,11 @@ This sub-module was added in version 1.2.
697697 Also, ``a `` may be any object that exposes a writable buffer.
698698 Nothing about this function is specific to bitarray objects.
699699
700+ We should mention that Python's ``array.array `` object has a
701+ method ``.byteswap() `` with similar functionality. However, unlike
702+ bitarray's ``util.byteswap() `` function, this method is limited to
703+ swapping 2, 4, or 8 consecutive bytes.
704+
700705 New in version 3.4
701706
702707
@@ -838,11 +843,7 @@ This sub-module was added in version 1.2.
838843 set to one. Mathematically equivalent to setting (in a bitarray of
839844 length ``n ``) all bits at indices ``random.sample(range(n), k) `` to one.
840845 The random bitarrays are reproducible when giving Python's ``random.seed() ``
841- with a specific seed value.
842-
843- This function requires Python 3.9 or higher, as it depends on the standard
844- library function ``random.randbytes() ``. Raises ``NotImplementedError ``
845- when Python version is too low.
846+ a specific seed value.
846847
847848 New in version 3.6
848849
0 commit comments