summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-12-25 14:24:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-12-25 14:24:15 (GMT)
commitfc3723bbf6289c9c02f5f8af6f0786230fb66c8d (patch)
tree1e2016b8c05497125e0044752eabc778bd5c05cc /Doc/c-api
parent21c8e81bb6d106ec68b8b944e4c9a989c2089000 (diff)
parenta8803d21e75d486e1c3a037906b01eb2de82f5a7 (diff)
downloadcpython-fc3723bbf6289c9c02f5f8af6f0786230fb66c8d.zip
cpython-fc3723bbf6289c9c02f5f8af6f0786230fb66c8d.tar.gz
cpython-fc3723bbf6289c9c02f5f8af6f0786230fb66c8d.tar.bz2
Merge from 3.6.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/exceptions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index ee51791..037b85c 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -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 ... */