diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-21 14:10:42 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-21 14:10:42 (GMT) |
| commit | 14ab2776321525ac82d0ae170a5e1ab911c914c0 (patch) | |
| tree | a740811e0c4169a523cf9c878927f72c3283d646 /Lib/macpath.py | |
| parent | c4189a04a8d5fef512db33302f405c9e6170c369 (diff) | |
| parent | 467ab194fc6189d9f7310c89937c51abeac56839 (diff) | |
| download | cpython-14ab2776321525ac82d0ae170a5e1ab911c914c0.zip cpython-14ab2776321525ac82d0ae170a5e1ab911c914c0.tar.gz cpython-14ab2776321525ac82d0ae170a5e1ab911c914c0.tar.bz2 | |
Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising
new exception with setting current exception as __cause__.
_PyErr_FormatFromCause(exception, format, args...) is equivalent to Python
raise exception(format % args) from sys.exc_info()[1]
Diffstat (limited to 'Lib/macpath.py')
0 files changed, 0 insertions, 0 deletions
