MCPcopy Index your code
hub / github.com/python/cpython / __aenter__

Method __aenter__

Lib/test/test_coroutines.py:1210–1213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1208 self.name = name
1209
1210 async def __aenter__(self):
1211 await AsyncYieldFrom(['enter-1-' + self.name,
1212 'enter-2-' + self.name])
1213 return self
1214
1215 async def __aexit__(self, *args):
1216 await AsyncYieldFrom(['exit-1-' + self.name,

Callers

nothing calls this directly

Calls 1

AsyncYieldFromClass · 0.85

Tested by

no test coverage detected