Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

try finally return precedent

>>> def bool_return():
...     try:
...         return True
...     finally:
...         return False
...
>>> bool_return()
False
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #finally #return #precedent
ADD COMMENT
Topic
Name
1+7 =