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

Method __aenter__

Lib/asyncio/locks.py:503–506  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

501 return f'<{res[1:-1]} [{extra}]>'
502
503 async def __aenter__(self):
504 # wait for the barrier reaches the parties number
505 # when start draining release and return index of waited task
506 return await self.wait()
507
508 async def __aexit__(self, *args):
509 pass

Callers

nothing calls this directly

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected