in python is a bad practice use a decorator which dont return an instance variable?

后端 未结 0 506
故里飘歌
故里飘歌 2021-01-25 09:24

Ok, let\'s say that I want to create a Vector2d in python to represent two-dimensional vectors. Now, I want to have a property to get the magnitude of the vector, so I code the

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