Discuss / Python / 如果用错注解

如果用错注解

Topic source

Nnke1meng

#1 Created at ... [Delete] [Delete and Lock User]
@width.setterdef height(self, __height):    self.__height = __height

如果注解用错位置了,__height的值会和__width的值相等,这个怎么理解啊


  • 1

Reply