summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-11 15:07:39 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-11 15:07:39 (GMT)
commitb52a74b5171f66bf38f7373e50c8515f2e6ab587 (patch)
tree5d9214da100d9d5721ee92927272cda510d7fb04 /Python
parent6a57c08dc828ff8512c047c97e7c7edfb0abbc74 (diff)
downloadcpython-b52a74b5171f66bf38f7373e50c8515f2e6ab587.zip
cpython-b52a74b5171f66bf38f7373e50c8515f2e6ab587.tar.gz
cpython-b52a74b5171f66bf38f7373e50c8515f2e6ab587.tar.bz2
#2816: clarify error messages for EOF while scanning strings.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonrun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index e1483aa..faca12f 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())