Merged revisions 81057 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r81057 | benjamin.peterson | 2010-05-10 15:49:20 -0500 (Mon, 10 May 2010) | 1 line

  remove reference to second argument to raise #8676
........
This commit is contained in:
Benjamin Peterson 2010-05-10 20:52:35 +00:00
parent 587cb1a2b2
commit aec0127720
1 changed files with 4 additions and 4 deletions

View File

@ -28,10 +28,10 @@ The built-in exceptions listed below can be generated by the interpreter or
built-in functions. Except where mentioned, they have an "associated value"
indicating the detailed cause of the error. This may be a string or a tuple
containing several items of information (e.g., an error code and a string
explaining the code). The associated value is the second argument to the
:keyword:`raise` statement. If the exception class is derived from the standard
root class :exc:`BaseException`, the associated value is present as the
exception instance's :attr:`args` attribute.
explaining the code). The associated value is usually passed to the exception
class's constructor. If the exception class is derived from the standard root
class :exc:`BaseException`, the associated value is present as the exception
instance's :attr:`args` attribute.
User code can raise built-in exceptions. This can be used to test an exception
handler or to report an error condition "just like" the situation in which the