Property object in Python messing up attributes

后端 未结 0 1501
傲寒
傲寒 2020-12-30 08:00

When I am running this code

class Coordinate(): def init(self, x, y): self.x = x self.y = y

@property
def x(self):
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题