Mention GetBaseException in C#.

This commit is contained in:
Ka-Ping Yee 2005-05-16 07:10:22 +00:00
parent 3d514b0e42
commit 2b1d6dd3c8
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ Rationale
argument to set it explicitly. The '__cause__' attribute fulfills
the same purpose as InnerException, but this PEP proposes a new form
of 'raise' rather than extending the constructors of all exceptions.
C# also provides a GetBaseException method that jumps directly to
the end of the InnerException chain; this PEP proposes no analog.
The reason all three of these attributes are presented together in
one proposal is that the '__traceback__' attribute provides