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

Function g_with

Lib/test/test_typing.py:6709–6712  ·  view source on GitHub ↗
(am: typing.AsyncContextManager[int])

Source from the content-addressed store, hash-verified

6707 other_a: 'mod_generics_cache.A'
6708
6709async def g_with(am: typing.AsyncContextManager[int]):
6710 x: int
6711 async with am as x:
6712 return x
6713
6714try:
6715 g_with(ACM()).send(None)

Callers 1

test_typing.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…