Skip to content

Commit 5a6275b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6e81a51 commit 5a6275b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bit_manipulation/multibit_manipulation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
It's not so bad once you get the hang of it, although it can still be a
5858
bear to debug. In the insert example above, the result of inserting 0b11
5959
in the center ( index=3 ) or to the right ( index=2 ) produces the same
60-
correct result despite the misspecification. These algorithms are very
60+
correct result despite the misspecification. These algorithms are very
6161
fast but can be touchy at times.
6262
6363
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:
247247

248248

249249
if __name__ == "__main__":
250-
251250
import doctest
252251

253252
doctest.testmod()

0 commit comments

Comments
 (0)