#coding=utf-8 class YouNeedError(Exception): pass try: raise YouNeedError("lola") except Exception as e: print str(e)
定制异常
猜你喜欢
转载自www.cnblogs.com/themost/p/9261608.html
今日推荐
周排行