This is a most excellent place for technology news and articles.
An iterable is just something that can be iterated over, like range(10), or [1, 2, 3].
range(10)
[1, 2, 3]
A sequence on the other hand is a Collection that is reversible.
https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes
I know what an iterable is. But I am talking about Type[Iterable], which iirc does not obey falsey eval when empty.
Type[Iterable]
An iterable is just something that can be iterated over, like
range(10)
, or[1, 2, 3]
.A sequence on the other hand is a Collection that is reversible.
https://docs.python.org/3/library/collections.abc.html#collections-abstract-base-classes
I know what an iterable is. But I am talking about
Type[Iterable]
, which iirc does not obey falsey eval when empty.