mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-12 04:18:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
6e81a51620
commit
5a6275bf5e
|
@ -57,7 +57,7 @@ rather the position to the right of the bit index.
|
|||
It's not so bad once you get the hang of it, although it can still be a
|
||||
bear to debug. In the insert example above, the result of inserting 0b11
|
||||
in the center ( index=3 ) or to the right ( index=2 ) produces the same
|
||||
correct result despite the misspecification. These algorithms are very
|
||||
correct result despite the misspecification. These algorithms are very
|
||||
fast but can be touchy at times.
|
||||
|
||||
Various bit insert/remove solutions exist using bin() string functions
|
||||
|
@ -247,7 +247,6 @@ def multibit_remove(bint: int, index: int, bit_len: int) -> int:
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
import doctest
|
||||
|
||||
doctest.testmod()
|
||||
|
|
Loading…
Reference in New Issue
Block a user