当前位置:网站首页>__ init__ () missing 2 required positive arguments
__ init__ () missing 2 required positive arguments
2022-07-04 21:15:00 【Fun of construction】
This kind of error is in addition to the insufficient parameters given in the regular call , And maybe with super The sentence is about .
Inherit python Be careful when you class ,super init The parameter needs to be the parent class init Pass in the required parameters :
super(xxx,self).__init__( You must remember to pass the reference here )
边栏推荐
- PS竖排英文和数字文字怎么改变方向(变竖直显示)
- HMS Core 统一扫码服务
- 数十亿公民信息遭泄漏!公有云上的数据安全还有“救”吗?
- Understand Alibaba cloud's secret weapon "dragon architecture" in the article "science popularization talent"
- Summary of the mistakes in the use of qpainter in QT gobang man-machine game
- [1200. Différence absolue minimale]
- Record the online bug solving list (unfinished to be continued 7/4)
- Pytorch---使用Pytorch实现LinkNet进行语义分割
- LeetCode 8. String conversion integer (ATOI)
- Routing configuration and connectivity test of Huawei simulator ENSP
猜你喜欢

y56.第三章 Kubernetes从入门到精通 -- 业务镜像版本升级及回滚(二九)

render函数与虚拟dom

Jmeter 之压测入门

Summary of the mistakes in the use of qpainter in QT gobang man-machine game

Huawei ENSP simulator configures ACL access control list

MySQL - database query - use of aggregate function, aggregate query, grouping query

【1200. 最小絕對差】

网络命名空间

Sword finger offer II 80-100 (continuous update)

heatmap.js图片热点热力图插件
随机推荐
卷积神经网络在深度学习中新发展的5篇论文推荐
Idea plug-in
PS vertical English and digital text how to change direction (vertical display)
PS竖排英文和数字文字怎么改变方向(变竖直显示)
LeetCode 8. String conversion integer (ATOI)
JS closure
Golang中UTF编码和字符集
LeetCode 8. 字符串转换整数 (atoi)
ApplicationContext 与 BeanFactory 区别(MS)
redis布隆过滤器
华为ensp模拟器 实现多个路由器的设备可以相互访问
PermissionError: [Errno 13] Permission denied: ‘data.csv‘
杰理之AD 系列 MIDI 功能说明【篇】
hash 表的概念及应用
Test case (TC)
福昕PDF编辑器v10.1.8绿色版
D3.js+Three.js数据可视化3d地球js特效
MySQL --- 数据库查询 - 聚合函数的使用、聚合查询、分组查询
[1200. Minimum absolute difference]
Render function and virtual DOM