Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 46075:84bb7701efba legacy-trunk
Make Py3k warnings consistent w.r.t. punctuation; also respect the
EOL 80 limit and supply more alternatives in warning messages.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Tue, 25 Mar 2008 08:29:14 +0000 |
| parents | c86e9dd16b8d |
| children | 840064802952 |
line wrap: on
line diff
--- a/Python/sysmodule.c Tue Mar 25 07:56:27 2008 +0000 +++ b/Python/sysmodule.c Tue Mar 25 08:29:14 2008 +0000 @@ -174,8 +174,8 @@ 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();
