mirror of
https://github.com/python/cpython.git
synced 2025-07-28 05:34:31 +00:00
A little reformating of Py3k warnings
This commit is contained in:
parent
fe4948bcef
commit
f19a7b90bd
11 changed files with 33 additions and 35 deletions
|
@ -173,7 +173,7 @@ sys_exc_clear(PyObject *self, PyObject *noargs)
|
|||
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
||||
|
||||
if (PyErr_WarnPy3k("sys.exc_clear() not supported in 3.x; "
|
||||
"use except clauses", 1) < 0)
|
||||
"use except clauses", 1) < 0)
|
||||
return NULL;
|
||||
|
||||
tstate = PyThreadState_GET();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue