mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merge from 3.5.
This commit is contained in:
commit
a8803d21e7
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ Querying the error indicator
|
|||
by code that needs to save and restore the error indicator temporarily, e.g.::
|
||||
|
||||
{
|
||||
PyObject **type, **value, **traceback;
|
||||
PyObject *type, *value, *traceback;
|
||||
PyErr_Fetch(&type, &value, &traceback);
|
||||
|
||||
/* ... code that might produce other errors ... */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue