Skip to content

Commit

Permalink
⚫ Fade to black.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jul 30, 2023
1 parent be4dc96 commit 53d94a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaraco/structures/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_bit_values(number, size=32):
>>> get_bit_values(0x3, 4)
[0, 0, 1, 1]
"""
number += 2 ** size
number += 2**size
return list(map(int, bin(number)[-size:]))


Expand Down

0 comments on commit 53d94a3

Please sign in to comment.