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

Method _get_asyncio_task

Lib/pdb.py:739–744  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

737 self._chained_exception_index = 0
738
739 def _get_asyncio_task(self):
740 try:
741 task = asyncio.current_task()
742 except RuntimeError:
743 task = None
744 return task
745
746 def interaction(self, frame, tb_or_exc):
747 # Restore the previous signal handler at the Pdb prompt.

Callers 1

interactionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected