PEP 492: refactor example code. (#1163)
This commit is contained in:
parent
ef80b51868
commit
0eeb96f1ce
|
@ -386,9 +386,9 @@ which is semantically equivalent to::
|
|||
|
||||
mgr = (EXPR)
|
||||
aexit = type(mgr).__aexit__
|
||||
aenter = type(mgr).__aenter__(mgr)
|
||||
aenter = type(mgr).__aenter__
|
||||
|
||||
VAR = await aenter
|
||||
VAR = await aenter(mgr)
|
||||
try:
|
||||
BLOCK
|
||||
except:
|
||||
|
|
Loading…
Reference in New Issue