importing module causes TypeError: module.__init__() takes at most 2 arguments (3 given)

前端 未结 4 789
醉梦人生
醉梦人生 2021-01-11 13:45

Please don\'t mark as duplicate, other similar questions did not solve my issue.

This is my setup

/main.py
/actions/ListitAction.py
/actions/ViewAction         


        
4条回答
  •  悲&欢浪女
    2021-01-11 14:40

    You are passing self when you don't need to, that's all.
    Edit: see MSeifert's comment answer since I don't want to steal content.

提交回复
热议问题