File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -443,10 +443,10 @@ is semantically equivalent to::
443
443
enter = type(manager).__enter__
444
444
exit = type(manager).__exit__
445
445
value = enter(manager)
446
- target = value # only if `as target` is present in the with statement
447
446
exception = False
448
447
449
448
try:
449
+ target = value # only if `as target` is present in the with statement
450
450
suite
451
451
except:
452
452
exception = True
@@ -846,10 +846,10 @@ is semantically equivalent to::
846
846
aexit = type(manager).__aexit__
847
847
aenter = type(manager).__aenter__
848
848
value = await aenter(manager)
849
- target = value # only if `as target` is present in the with statement
850
849
exception = False
851
850
852
851
try:
852
+ target = value # only if `as target` is present in the with statement
853
853
suite
854
854
except:
855
855
exception = True
You can’t perform that action at this time.
0 commit comments