Skip to content

Commit 52ddb38

Browse files
authored
Fix error message for non-integer inputs
1 parent 84a32f3 commit 52ddb38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bit_manipulation/binary_and_operator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def binary_and(a: int, b: int) -> str:
6868
>>> binary_and(10, "1")
6969
Traceback (most recent call last):
7070
...
71-
TypeError: both inputs must be integers
71+
TypeError: inputs must be integers
7272
"""
7373
if not isinstance(a, int) or not isinstance(b, int):
7474
raise TypeError("inputs must be integers")

0 commit comments

Comments
 (0)