Skip to content

Commit 5346e7c

Browse files
committed
Add num_convert.py to the starter code, chapter 10. It's absence watch causing confusion.
1 parent dcdc7db commit 5346e7c

File tree

1 file changed

+5
-0
lines changed
  • app/ch10_using_sqlachemy/starter/pypi_org/infrastructure

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
def try_int(text) -> int:
2+
try:
3+
return int(text)
4+
except:
5+
return 0

0 commit comments

Comments
 (0)