Why args works and kwargs have a problem?

后端 未结 0 924
日久生厌
日久生厌 2021-01-30 15:29

Can somebody tell me why this code works well with *args:

class User:
    def __init__(self, name):
        self.name = name
        self.is_logged_in = False


d         


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