This website works better with JavaScript.
Home
Help
Sign In
ben
/
func-smash
mirror of
https://github.com/earwig/func-smash
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
try blocks; works well when simple but usually fails on complex ones
master
Ben Kurtovic
12 years ago
parent
b7f275dc0d
commit
7b001b5e79
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
corpora/tries.py
+ 7
- 0
corpora/tries.py
View File
@@ -0,0 +1,7 @@
def f1(a):
try:
return int(a)
except:
return None
corpus = [f1]
Write
Preview
Loading…
Cancel
Save