MeadSteve@reddthat.com to Python@programming.dev • 9 months agoTyped Python: Choose Sequence over Listexternal-linkmessage-square6 fedilinkarrow-up114file-text
arrow-up114external-linkTyped Python: Choose Sequence over ListMeadSteve@reddthat.com to Python@programming.dev • 9 months agomessage-square6 Commentsfedilinkfile-text
minus-squareqwertyasdef@programming.devhexbear4·9 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. linkfedilink
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.