返回顶部

Python TypeError: select() takes 2 positional arguments but 3 were given

TypeError: select() takes 2 positional arguments but 3 were given

报错现象

接收两个参数但是给了三个

 

 

 原因

原因是在定义create_teacher少了传参

 

 解决方法

传入参数

 

posted @ 2023-03-15 19:12  九尾cat  阅读(1481)  评论(0编辑  收藏  举报