Get the text of the current source line as a string, with a trailing newline character
(self)
| 1038 | return self._frame.current_line_num() |
| 1039 | |
| 1040 | def current_line(self): |
| 1041 | '''Get the text of the current source line as a string, with a trailing |
| 1042 | newline character''' |
| 1043 | if self.is_optimized_out(): |
| 1044 | return FRAME_INFO_OPTIMIZED_OUT |
| 1045 | return self._frame.current_line() |
| 1046 | |
| 1047 | def write_repr(self, out, visited): |
| 1048 | if self.is_optimized_out(): |
nothing calls this directly
no test coverage detected