代码1:
class cla: def __init__(self): #raise NameError # 抛出异常 print(r) cla()
运行截图:
标签:__,抛出,cla,NameError,实例,异常 From: https://www.cnblogs.com/xiaogan-520/p/17610871.html
代码1:
class cla: def __init__(self): #raise NameError # 抛出异常 print(r) cla()
运行截图:
标签:__,抛出,cla,NameError,实例,异常 From: https://www.cnblogs.com/xiaogan-520/p/17610871.html