Skip to content

Commit 9eead0f

Browse files
committed
commented out raise TypeError
1 parent 2e45100 commit 9eead0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

add.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
def add(x: int, y: int) -> int:
2-
if not isinstance(x,int) or not isinstance(y,int):
3-
raise TypeError("Both arguments must be integers")
2+
# if not isinstance(x,int) or not isinstance(y,int):
3+
# raise TypeError("Both arguments must be integers")
44
"""Returns the sum of two integers."""
55
return x + y

0 commit comments

Comments
 (0)