当前位置:网站首页>__ 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 )
边栏推荐
猜你喜欢
Huawei ENSP simulator realizes communication security (switch)
js 3D爆炸碎片图片切换js特效
Idea restore default shortcut key
数十亿公民信息遭泄漏!公有云上的数据安全还有“救”吗?
【1200. 最小绝对差】
仿ps样式js网页涂鸦板插件
WinCC7.5 SP1如何通过交叉索引来寻找变量及其位置?
What are the functional modules of RFID warehouse management system solution
【观察】联想:3X(1+N)智慧办公解决方案,释放办公生产力“乘数效应”
五子棋 上班摸鱼工具 可局域网/人机
随机推荐
Jekins initialization password not found or not found
Ten years' experience of byte test engineer directly hits the pain point of UI automation test
2021 CCPC 哈尔滨 I. Power and Zero(二进制 + 思维)
实战模拟│JWT 登录认证
Advantages of semantic tags and block level inline elements
Play the music of youth
RFID仓库管理系统解决方案有哪些功能模块
Hwinfo hardware detection tool v7.26 green version
PermissionError: [Errno 13] Permission denied: ‘data.csv‘
WGCNA分析基本教程总结
nmap扫描
杰理之增加进关机前把触摸模块关闭流程【篇】
JS卡牌样式倒计时天数
Embedded TC test case
【解决方案】PaddlePaddle 2.x调用静态图模式
嵌入式TC 测试用例
Introduction to pressure measurement of JMeter
B站视频 声音很小——解决办法
杰理之AD 系列 MIDI 功能说明【篇】
【服务器数据恢复】某品牌服务器存储raid5数据恢复案例