MCPcopy Index your code
hub / github.com/RustPython/RustPython / line

Method line

Lib/traceback.py:374–379  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

372
373 @property
374 def line(self):
375 self._set_lines()
376 if self._lines is None:
377 return None
378 # return only the first line, stripped
379 return self._lines.partition("\n")[0].strip()
380
381
382def walk_stack(f):

Callers 1

convert_openssl_errorFunction · 0.45

Calls 3

_set_linesMethod · 0.95
stripMethod · 0.45
partitionMethod · 0.45

Tested by

no test coverage detected