首页上一页 1 下一页尾页 1 条记录 1/1页
运行队列在线程间通信程序时出现DeprecationWarning是什么情况?
发表在Python图书答疑
2022-10-11
悬赏:10 学分
《Python从入门到项目实践》第16章 进程和线程 257页-258页

是否精华
是
否
版块置顶:
是
否
DeprecationWarning: getName() is deprecated, get the name attribute instead
print("生产者%s将产品%d加入队列"%(self.getName(),i))
DeprecationWarning: getName() is deprecated, get the name attribute instead
print("消费者%s将产品%d从队列中取出"%(self.getName(),val))