diff options
author | Guido van Rossum <guido@python.org> | 1997-09-05 19:00:56 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-05 19:00:56 +0000 |
commit | 69bb5ed24b3bf57c8074f6e8ce340385afa0c900 (patch) | |
tree | 987f140080d63a645f233d7cad42e94a9f60734c /Python/pythonrun.c | |
parent | 10e46444458ba8e0f64bfe99cf8bc277f8f48321 (diff) | |
download | cpython-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