标签: python class python-2.7 initialization
我不确定说
class Point(object): def __init__(self): self.x = 5
然后说
class Point(object): x = 5
有什么区别?