Skip to content

Commit 9907322

Browse files
committed
Tutorial: update note on async context managers.
1 parent 26b66e3 commit 9907322

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

TUTORIAL.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -891,10 +891,7 @@ comes from the `Lock` class:
891891
If the `async with` has an `as variable` clause the variable receives the
892892
value returned by `__aenter__`.
893893

894-
There was a bug in the implementation whereby if an explicit `return` was issued
895-
within an `async with` block, the `__aexit__` method was not called. This was
896-
fixed as of 27th June 2018 [PR 3890](https://github.com/micropython/micropython/pull/3890)
897-
but the fix was too late for the current release build (V1.9.4).
894+
To ensure correct behaviour firmware should be V1.9.10 or later.
898895

899896
###### [Contents](./TUTORIAL.md#contents)
900897

0 commit comments

Comments
 (0)