MCPcopy Create free account
hub / github.com/RustPython/RustPython / g_with

Function g_with

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

Source from the content-addressed store, hash-verified

6654 other_a: 'mod_generics_cache.A'
6655
6656async def g_with(am: typing.AsyncContextManager[int]):
6657 x: int
6658 async with am as x:
6659 return x
6660
6661try:
6662 g_with(ACM()).send(None)

Callers 1

test_typing.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected