This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Wrong description for PyErr_Restore
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: fdrake Nosy List: fdrake, theller
Priority: normal Keywords:

Created on 2002-07-03 14:59 by theller, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg11466 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2002-07-03 14:59
The description for PyErr_Restore() says: "The 
exception type should be a string or class; if it is a 
class, the value should be an instance of that class."

This is apparently wrong, if you call PyErr_SetString() 
for example, the value is a string object, and the 
exception type is whatever has been passed to the call.

I don't know the rules, so I cannot supply a patch.
msg11467 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-10-24 20:56
Logged In: YES 
user_id=3066

Fixed in Doc/api/exceptions.tex 1.12 and 1.3.6.4.
History
Date User Action Args
2022-04-10 16:05:29adminsetgithub: 36845
2002-07-03 14:59:49thellercreate