FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Issue #29068: Fixed a typo in PyErr_Fetch example. · python-emscripten/cpython@4398c12 · GitHub

Repository navigation

Commit 4398c12

Browse files
Issue python#29068: Fixed a typo in PyErr_Fetch example.
Patch by Chi Hsuan Yen.
1 parent b079c07 commit 4398c12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Doc/c-api/exceptions.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ Querying the error indicator
381381
by code that needs to save and restore the error indicator temporarily, e.g.::
382382
383383
{
384-
PyObject **type, **value, **traceback;
384+
PyObject *type, *value, *traceback;
385385
PyErr_Fetch(&type, &value, &traceback);
386386
387387
/* ... code that might produce other errors ... */

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL