MeadSteve to Python@programming.devEnglish • 2 years agoTyped Python: Choose Sequence over Listblog.meadsteve.devexternal-linkmessage-square8fedilinkarrow-up122file-text
arrow-up122external-linkTyped Python: Choose Sequence over Listblog.meadsteve.devMeadSteve to Python@programming.devEnglish • 2 years agomessage-square8fedilinkfile-text
minus-square@qwertyasdef@programming.devlinkfedilink8•2 years agoIf you don’t need to reuse the collection or access its items out of order, you can also use Iterable which accepts even more inputs like generators.
If you don’t need to reuse the collection or access its items out of order, you can also use
Iterable
which accepts even more inputs like generators.