Issue #29068: Fixed a typo in PyErr_Fetch example.

Patch by Chi Hsuan Yen.
This commit is contained in:
Serhiy Storchaka 2016-12-25 16:22:23 +02:00
parent b079c07f7d
commit 4398c12b47
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,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 ... */