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

Class MinimalCoro

Lib/test/test_collections.py:805–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

803 yield
804
805 class MinimalCoro(Coroutine):
806 def send(self, value):
807 return value
808 def throw(self, typ, val=None, tb=None):
809 super().throw(typ, val, tb)
810 def __await__(self):
811 yield
812
813 self.validate_abstract_methods(Awaitable, '__await__')
814

Callers 2

test_AwaitableMethod · 0.85
test_CoroutineMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_AwaitableMethod · 0.68
test_CoroutineMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…