rank vote view answer url
41 1623 1189801 5 url

手动抛出异常

我想故意制造一个错误,所以我可以转到excepy:语句

我怎么做?


不能在Pythonic了;

raise Exception("I know python!")

想得到更多信息,看这里

Copyright © taizilongxu 2018 all right reserved,powered by Gitbook该文件修订时间: 2018-10-17 17:33:54

results matching ""

    No results matching ""