diff options
| author | Georg Brandl <georg@python.org> | 2008-05-11 15:07:39 +0000 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-05-11 15:07:39 +0000 |
| commit | fe07548e2218bb412f03b08fd3a2c90d20c0ebf5 (patch) | |
| tree | af307bea91f6e9a61bc9fa07a12d8f976b1d3eed /Python/pythonrun.c | |
| parent | 017297dbae2acd059f7b046243b4d02028a2ddd3 (diff) | |
| download | cpython-fe07548e2218bb412f03b08fd3a2c90d20c0ebf5.tar.gz | |
#2816: clarify error messages for EOF while scanning strings.
Diffstat (limited to 'Python/pythonrun.c')
| -rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index e1483aafa3..faca12f9ad 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1500,10 +1500,10 @@ err_input(perrdetail *err) msg = "invalid token"; break; case E_EOFS: - msg = "EOF while scanning triple-quoted string"; + msg = "EOF while scanning triple-quoted string literal"; break; case E_EOLS: - msg = "EOL while scanning single-quoted string"; + msg = "EOL while scanning string literal"; break; case E_INTR: if (!PyErr_Occurred()) |
