Tyler B added the comment:

I wanted to make an edit so here's my revised comment:

Looked at the code and found differences between 3.4 and 2.7. 2.7 has 4 
exceptions that can be raised while 3.4 has 3 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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19184>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to