Skip to content

Commit 7746511

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9a51e83 commit 7746511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bit_manipulation/binary_swap_bits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def swap_bits(number: int, i: int, j: int) -> int:
4141
Traceback (most recent call last):
4242
...
4343
ValueError: Bit positions MUST be non-negative!
44-
"""
44+
"""
4545
if not all(isinstance(x, int) for x in (number, i, j)):
4646
raise TypeError("All arguments MUST be integers!")
4747

0 commit comments

Comments
 (0)