阅读背景:

Python: Catch multiple exceptions in one line (except block)

来源:互联网 

Enclose in parentheses:

except (IDontLIkeYouException, YouAreBeingMeanException) as e:
    passexcept (IDontLIkeYouE



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: