]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-144386: Update equivalent code for "with", "async with" and "async for...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 Feb 2026 11:19:02 +0000 (12:19 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Feb 2026 11:19:02 +0000 (11:19 +0000)
commitdafd35fea7a01aa897c105987cadf2ddfe6ac0ed
treec8467651d8bf9cffc2523b573e9992cbd33c371e
parenta81554f587a8d373588308ef476f12a17e4ed43d
[3.14] gh-144386: Update equivalent code for "with", "async with" and "async for" (GH-144472) (GH-144945)

They use special method lookup for special methods.
(cherry picked from commit 9e8fa2d4d1ec263bdc6945237b0e0517f07a3474)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/reference/compound_stmts.rst