A bad joke told in Python:
def call_foreign_api(str):
try:
foreign_api(str)
except NotUnderstoodError:
foreign_api(str.upper())
A bad joke told in Python:
def call_foreign_api(str):
try:
foreign_api(str)
except NotUnderstoodError:
foreign_api(str.upper())
Something wrong?
Suggest an improvement
or
add a comment
(see article history)
Tagged with:
python
Filed in: tidbits
Previous: nurl - an immutable URL object for node.js
Next: Commandlinefu presentation at Confoo 2011
Copyright © 2005-2024 David Winterbottom
Content licensed under CC BY-NC-SA 4.0.