From 4398c12b472b1e7b653d273500bbcd9988eaec1f Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 25 Dec 2016 16:22:23 +0200 Subject: [PATCH] Issue #29068: Fixed a typo in PyErr_Fetch example. Patch by Chi Hsuan Yen. --- Doc/c-api/exceptions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst index 19cbb3bcb87..c389888b2bb 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 ... */