diff options
author | loic@dachary.org <loic@dachary.org> | 2016-12-18 01:56:31 +0100 |
---|---|---|
committer | loic@dachary.org <loic@dachary.org> | 2016-12-18 01:56:31 +0100 |
commit | b8eaf57399f82872cb7b371bc5b8ff2e9679a9ba (patch) | |
tree | bcbf4f13e43abf67a8164f87daaf54f8bf37130c /coverage/control.py | |
parent | 878363970556406d1eed322f6bd8747af1145462 (diff) | |
download | python-coveragepy-git-b8eaf57399f82872cb7b371bc5b8ff2e9679a9ba.tar.gz |
finally happens before return in a try #493
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
--HG--
branch : issue-493-2
Diffstat (limited to 'coverage/control.py')
0 files changed, 0 insertions, 0 deletions