summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-05 19:00:56 +0000
committerGuido van Rossum <guido@python.org>1997-09-05 19:00:56 +0000
commit69bb5ed24b3bf57c8074f6e8ce340385afa0c900 (patch)
tree987f140080d63a645f233d7cad42e94a9f60734c /Python/pythonrun.c
parent10e46444458ba8e0f64bfe99cf8bc277f8f48321 (diff)
downloadcpython-69bb5ed24b3bf57c8074f6e8ce340385afa0c900.tar.gz
Made the 'info' argument to SyntaxError optional, so phase-2 syntax
errors are handled (these gave ``TypeError: not enough arguments''). Also changed its __str__() to correct a typo (missing self.) and return str(self.msg) to ensure the result is always string. Also changed the default __str__ to simply return str(self.args).
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions