python properties augmented

前端 未结 0 1109
误落风尘
误落风尘 2021-01-14 01:34

I am fairly new to Python and I am having an issue with properties. With a simple code:

@Property(str, constant=true)
def x(self) -> str:
     return self.         


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