Print the stack or traceback for this task's coroutine. This produces output similar to that of the traceback module, for the frames retrieved by get_stack(). The limit argument is passed to get_stack(). The file argument is an I/O stream to which the output i
(self, *, limit=None, file=None)
| 185 | return base_tasks._task_get_stack(self, limit) |
| 186 | |
| 187 | def print_stack(self, *, limit=None, file=None): |
| 188 | """Print the stack or traceback for this task's coroutine. |
| 189 | |
| 190 | This produces output similar to that of the traceback module, |
| 191 | for the frames retrieved by get_stack(). The limit argument |
| 192 | is passed to get_stack(). The file argument is an I/O stream |
| 193 | to which the output is written; by default output is written |
| 194 | to sys.stderr. |
| 195 | """ |
| 196 | return base_tasks._task_print_stack(self, limit, file) |
| 197 | |
| 198 | def cancel(self, msg=None): |
| 199 | """Request that this task cancel itself. |
no outgoing calls
no test coverage detected