-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
Description
可以看看下面的例子:
class Person:
name=[]p1=Person()
p2=Person()
p1.name.append(1)
print p1.name # [1]
print p2.name # [1]
print Person.name # [1]
参考:http://stackoverflow.com/questions/6470428/catch-multiple-exceptions-in-one-line-except-block
参考链接和这个问题无关。