PyDocs

Nav

Python Runtime Services

set_coroutine_origin_tracking_depth

sys

function · Added in 3.7
  • set_coroutine_origin_tracking_depth(depth)
Enable or disable origin tracking for coroutine objects in this thread.

Coroutine objects will track 'depth' frames of traceback information
about where they came from, available in their cr_origin attribute.

Set a depth of 0 to disable.
0 Examples
No examples for sys/set_coroutine_origin_tracking_depth.
See Also
No see-alsos for sys/set_coroutine_origin_tracking_depth
0 Notes
No notes for set_coroutine_origin_tracking_depth