From d5b635f1969fdd609f0aff5669c9ec30e61be62e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 25 Mar 2008 08:29:14 +0000 Subject: Make Py3k warnings consistent w.r.t. punctuation; also respect the EOL 80 limit and supply more alternatives in warning messages. --- Python/sysmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/sysmodule.c') diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 89e7e30481..e733ceedcb 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -174,8 +174,8 @@ sys_exc_clear(PyObject *self, PyObject *noargs) if (Py_Py3kWarningFlag && PyErr_Warn(PyExc_DeprecationWarning, - "sys.exc_clear() not supported in 3.x. " - "Use except clauses.") < 0) + "sys.exc_clear() not supported in 3.x; " + "use except clauses") < 0) return NULL; tstate = PyThreadState_GET(); -- cgit v1.2.1