Mercurial > cpython-lru_cache-weakref
diff Python/ceval.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 | 27e7dc2e6290 |
| children | aef3501d8e77 |
line wrap: on
line diff
--- a/Python/ceval.c Tue Mar 25 07:56:27 2008 +0000 +++ b/Python/ceval.c Tue Mar 25 08:29:14 2008 +0000 @@ -4056,7 +4056,7 @@ PyType_FastSubclass((PyTypeObject*)(x), Py_TPFLAGS_BASE_EXC_SUBCLASS)) #define CANNOT_CATCH_MSG "catching classes that don't inherit from " \ - "BaseException is not allowed in 3.x." + "BaseException is not allowed in 3.x" static PyObject * cmp_outcome(int op, register PyObject *v, register PyObject *w)
