MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / showsyntaxerror

Method showsyntaxerror

Lib/code.py:112–139  ·  view source on GitHub ↗

Display the syntax error that just occurred. This doesn't display a stack trace because there isn't one. If a filename is given, it is stuffed in the exception instead of what was there before (because Python's parser always uses " " when reading from a strin

(self, filename=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runsourceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected