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

Method showsyntaxerror

Lib/_pyrepl/console.py:165–166  ·  view source on GitHub ↗
(self, filename=None, **kwargs)

Source from the content-addressed store, hash-verified

163 self.can_colorize = _colorize.can_colorize()
164
165 def showsyntaxerror(self, filename=None, **kwargs):
166 super().showsyntaxerror(filename=filename, **kwargs)
167
168 def _excepthook(self, typ, value, tb):
169 import traceback

Callers 1

runsourceMethod · 0.95

Calls 1

superClass · 0.85

Tested by

no test coverage detected