I want to add arbitrary number of argument in self.privileges = ['check] by the addAbility() fuction. Is there a way to do that?

前端 未结 0 1032
青春惊慌失措
青春惊慌失措 2021-02-15 12:04

I have created a subclass Privileges() and in that subclass I have created addAbility() fuction, which adds one privilege with default self.privi

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