Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 46889:1fdfb29f4fb8 legacy-trunk
#2816: clarify error messages for EOF while scanning strings.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 11 May 2008 15:07:39 +0000 |
| parents | 1a2dbc84bdfc |
| children | 04bd3690fb1f |
line wrap: on
line diff
--- a/Python/pythonrun.c Sun May 11 15:05:13 2008 +0000 +++ b/Python/pythonrun.c Sun May 11 15:07:39 2008 +0000 @@ -1500,10 +1500,10 @@ 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())
