diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-25 16:22:23 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-25 16:22:23 +0200 |
commit | 07cb7f271cd9345c8602c0c3007f0039d8549c83 (patch) | |
tree | 1b729cc6fa3223941d8540c5a072b3e0b91a2744 | |
parent | 17bd910fd631e955a4dfbd97f51938ea56f420ab (diff) | |
download | cpython-07cb7f271cd9345c8602c0c3007f0039d8549c83.tar.gz |
Issue #29068: Fixed a typo in PyErr_Fetch example.
Patch by Chi Hsuan Yen.
-rw-r--r-- | Doc/c-api/exceptions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 ... */ |