diff options
author | loic <loic@dachary.org> | 2016-12-18 01:56:31 +0100 |
---|---|---|
committer | loic <loic@dachary.org> | 2016-12-18 01:56:31 +0100 |
commit | ff3b97a0b4f7ca264f7b7897cc101521485cdff8 (patch) | |
tree | fc74e399e39134aa8af83c61c8ea663fcf04e95a /doc/index.rst | |
parent | b33628b4918f47694e89526955cf83b9764f6562 (diff) | |
download | python-coveragepy-issue-493-2.tar.gz |
finally happens before return in a try #493issue-493-2
In a try block such as:
if expr:
try:
return
finally
print
pass
the print happens before the return and cannot be followed by
pass. The general case is that when the body/else/handlers in a try
block all have return, break etc., the code behind finally: has no arc
to the statement following the try block.
close #493
Diffstat (limited to 'doc/index.rst')
0 files changed, 0 insertions, 0 deletions