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.

Author Tyler.B
Recipients Tyler.B, docs@python, nedbat
Date 2013-10-15.00:44:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1381797856.38.0.221281106816.issue19184@psf.upfronthosting.co.za>
In-reply-to
Content
Looked at the code and found differences between 3.4 and 2.7. 2.7 has 3 exceptions that can be raised while 3.4 has 4 exceptions. 

I propose removing the "list of parameters" from the documenation to keep things simple and not repeat the code. 

# 2.7
"Raises an exception. argc indicates the number of parameters to the raise statement, ranging from 0 to 3. The parameters consist of the traceback as TOS1, the value as TOS2, the exception as TOS3, and None as TOS4."

# 3.4  
"Raises an exception. argc indicates the number of parameters to the raise statement, ranging from 0 to 2. The parameters consist of the cause as TOS1, the exception as TOS2, and None as TOS3."

How does this sound?
History
Date User Action Args
2013-10-15 00:44:16Tyler.Bsetrecipients: + Tyler.B, nedbat, docs@python
2013-10-15 00:44:16Tyler.Bsetmessageid: <1381797856.38.0.221281106816.issue19184@psf.upfronthosting.co.za>
2013-10-15 00:44:16Tyler.Blinkissue19184 messages
2013-10-15 00:44:15Tyler.Bcreate