From 53d94a34549a309209c9a17c47fb8d747d55cd21 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 29 Jul 2023 20:53:25 -0400 Subject: [PATCH] =?UTF-8?q?=E2=9A=AB=20Fade=20to=20black.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jaraco/structures/binary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jaraco/structures/binary.py b/jaraco/structures/binary.py index bd83ef1..d760653 100644 --- a/jaraco/structures/binary.py +++ b/jaraco/structures/binary.py @@ -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:]))