MCPcopy Index your code
hub / github.com/RustPython/RustPython / call_with_kwarg

Method call_with_kwarg

Lib/test/test_asyncgen.py:774–775  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

772 async def call_with_wrong_type_args():
773 await anext(1, gen())
774 async def call_with_kwarg():
775 await anext(aiterator=gen())
776 with self.assertRaises(TypeError):
777 self.loop.run_until_complete(call_with_too_few_args())
778 with self.assertRaises(TypeError):

Callers

nothing calls this directly

Calls 2

anextFunction · 0.85
genFunction · 0.70

Tested by

no test coverage detected