Skip to content

Commit fe16404

Browse files
committed
Swap __aexit__ and __aenter__ loading in the documentation
1 parent 940e932 commit fe16404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/compound_stmts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,8 +844,8 @@ The following code::
844844
is semantically equivalent to::
845845

846846
manager = (EXPRESSION)
847-
aexit = type(manager).__aexit__
848847
aenter = type(manager).__aenter__
848+
aexit = type(manager).__aexit__
849849
value = await aenter(manager)
850850
hit_except = False
851851

0 commit comments

Comments
 (0)