MeadSteve@reddthat.com to Python@programming.devEnglish · 11 months agoTyped Python: Choose Sequence over Listblog.meadsteve.devexternal-linkmessage-square8fedilinkarrow-up19arrow-down10file-text
arrow-up19arrow-down1external-linkTyped Python: Choose Sequence over Listblog.meadsteve.devMeadSteve@reddthat.com to Python@programming.devEnglish · 11 months agomessage-square8fedilinkfile-text
minus-squareqwertyasdef@programming.devlinkfedilinkarrow-up5·11 months 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.