MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __aenter__

Method __aenter__

tools/python-3.11.9-amd64/Lib/asyncio/locks.py:473–476  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

471 return f'<{res[1:-1]} [{extra}]>'
472
473 async def __aenter__(self):
474 # wait for the barrier reaches the parties number
475 # when start draining release and return index of waited task
476 return await self.wait()
477
478 async def __aexit__(self, *args):
479 pass

Callers

nothing calls this directly

Calls 1

waitMethod · 0.95

Tested by

no test coverage detected