- 博客(1)
- 收藏
- 关注
原创 Python3.9中,使用from collections import Iterable报错
Python3.9中,使用from collections import Iterable报错刚开始学习python,用的是3.9的版本,使用 isinstance(‘abc’, Iterable) 命令,来判断对象是否是可迭代对象,教程中说引入from collections import Iterable。但是这样会报如下错误:DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'col
2021-04-15 18:16:14 3266 4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人