mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #24245: Eliminated senseless expect clauses that have no any effect.
Patch by Martin Panter.
This commit is contained in:
parent
ba9ac5b5c4
commit
e98209c2b4
5 changed files with 0 additions and 14 deletions
|
@ -20,8 +20,6 @@ def _retry_thrice(func, exc, *args, **kwargs):
|
|||
except exc as e:
|
||||
last_exc = e
|
||||
continue
|
||||
except:
|
||||
raise
|
||||
raise last_exc
|
||||
|
||||
def _wrap_with_retry_thrice(func, exc):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue