From: Serhiy Storchaka Date: Sun, 25 Dec 2016 14:22:23 +0000 (+0200) Subject: Issue #29068: Fixed a typo in PyErr_Fetch example. X-Git-Tag: v3.5.3rc1~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4398c12b472b1e7b653d273500bbcd9988eaec1f;p=python Issue #29068: Fixed a typo in PyErr_Fetch example. Patch by Chi Hsuan Yen. --- diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 19cbb3bcb8..c389888b2b 100644 --- a/Doc/c-api/exceptions.rst +++ b/Doc/c-api/exceptions.rst @@ -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 ... */