Commit 4398c12b authored by Serhiy Storchaka's avatar Serhiy Storchaka

Issue #29068: Fixed a typo in PyErr_Fetch example.

Patch by Chi Hsuan Yen.
parent b079c07f
...@@ -381,7 +381,7 @@ Querying the error indicator ...@@ -381,7 +381,7 @@ Querying the error indicator
by code that needs to save and restore the error indicator temporarily, e.g.:: 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); PyErr_Fetch(&type, &value, &traceback);
/* ... code that might produce other errors ... */ /* ... code that might produce other errors ... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment