mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Make Py3k warnings consistent w.r.t. punctuation; also respect the
EOL 80 limit and supply more alternatives in warning messages.
This commit is contained in:
parent
80055f6295
commit
d5b635f196
16 changed files with 67 additions and 54 deletions
|
@ -4056,7 +4056,7 @@ assign_slice(PyObject *u, PyObject *v, PyObject *w, PyObject *x)
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue