diff options
author | Serge Guelton <sguelton@quarkslab.com> | 2018-12-03 12:11:21 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@quarkslab.com> | 2018-12-03 12:11:21 +0000 |
commit | ba2e3ae0a66adc4c70f943063abd494ddbadfc89 (patch) | |
tree | 70f2f7b12df1206670ba90a12218b13d746a5177 /docs | |
parent | 055b8810d35fa85e6c2800d8390610e564fcbfdc (diff) |
Portable Python script across Python version
Python2 supports the two following equivalent construct
raise ExceptionType, exception_value
and
raise ExceptionType(exception_value)
Only the later is supported by Python3.
Differential Revision: https://reviews.llvm.org/D55195
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348126 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions