python 3.8后,from collections import Iterable这种用法将会不可用,因为3.7已经弃用了,要改用from collections.abc import Iterable才可以。
from collections import Iterable
from collections.abc import Iterable
Sign in to make a reply
XDBruce
python 3.8后,
from collections import Iterable
这种用法将会不可用,因为3.7已经弃用了,要改用from collections.abc import Iterable
才可以。