Skip to content

Commit b8cbf81

Browse files
committed
Don't do a naked except
1 parent e793de9 commit b8cbf81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chispa/number_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
def isnan(x):
55
try:
66
return math.isnan(x)
7-
except:
7+
except TypeError:
88
return False
99

1010

0 commit comments

Comments
 (0)