Start debugging from `frame`. If frame is not specified, debugging starts from caller's frame.
(frame=None)
| 141 | |
| 142 | |
| 143 | def set_trace(frame=None): |
| 144 | """ |
| 145 | Start debugging from `frame`. |
| 146 | |
| 147 | If frame is not specified, debugging starts from caller's frame. |
| 148 | """ |
| 149 | TerminalPdb().set_trace(frame or sys._getframe().f_back) |
| 150 | |
| 151 | |
| 152 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected