PEP 344: Resolve dangling hyphens (#3348)
This commit is contained in:
parent
8b7a3464da
commit
043306b1f7
|
@ -85,8 +85,8 @@ exception, the exception must be retained implicitly. To support intentional
|
||||||
translation of an exception, there must be a way to chain exceptions
|
translation of an exception, there must be a way to chain exceptions
|
||||||
explicitly. This PEP addresses both.
|
explicitly. This PEP addresses both.
|
||||||
|
|
||||||
Several attribute names for chained exceptions have been suggested on Python-
|
Several attribute names for chained exceptions have been suggested on
|
||||||
Dev [2]_, including ``cause``, ``antecedent``, ``reason``, ``original``,
|
Python-Dev [2]_, including ``cause``, ``antecedent``, ``reason``, ``original``,
|
||||||
``chain``, ``chainedexc``, ``xc_chain``, ``excprev``, ``previous`` and
|
``chain``, ``chainedexc``, ``xc_chain``, ``excprev``, ``previous`` and
|
||||||
``precursor``. For an explicitly chained exception, this PEP suggests
|
``precursor``. For an explicitly chained exception, this PEP suggests
|
||||||
``__cause__`` because of its specific meaning. For an implicitly chained
|
``__cause__`` because of its specific meaning. For an implicitly chained
|
||||||
|
|
Loading…
Reference in New Issue