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

Class Future

Lib/test/test_inspect/test_inspect.py:402–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400 self.assertTrue(inspect.isawaitable(gen_coro))
401
402 class Future:
403 def __await__():
404 pass
405 self.assertTrue(inspect.isawaitable(Future()))
406 self.assertFalse(inspect.isawaitable(Future))
407

Callers 1

test_isawaitableMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_isawaitableMethod · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…