首页 > 编程语言 >Python TypeError: select() takes 2 positional arguments but 3 were given

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

时间:2023-03-15 19:24:43浏览次数:60  
标签:given TypeError takes but positional arguments select

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

报错现象

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

 

 

 原因

原因是在定义create_teacher少了传参

 

 解决方法

传入参数

 

标签:given,TypeError,takes,but,positional,arguments,select
From: https://www.cnblogs.com/weiweirui/p/17219685.html

相关文章