*Not documented*
def repr_source(self, source, marker=">", marker_location=-1):
origin: test.TerminalSession
where:
function source:
def repr_source(self, source, marker=">", marker_location=-1):
if marker_location < 0:
marker_location += len(source)
if marker_location < 0:
marker_location = 0
if marker_location >= len(source):
marker_location = len(source) - 1
for i in range(len(source)):
if i == marker_location:
prefix = marker + " "
else:
prefix = " "
self.out.line(prefix + source[i])
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.0
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.1
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.2
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.3
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.4
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.5
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.6
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.7
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.8
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.9
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.10
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.11
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.12
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.13
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.14
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.15
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.16
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py
traceback test.TerminalSession.repr_source.17
called in /home/johnny/projects/merlinux/py/dist/py/test/terminal/terminal.py