3 ms·
Generators were added in Python 2.2: https://docs.python.org/2/whatsnew/2.2.html#pep-255-simple-generators https://docs.python.org/2/whatsnew/2.2.html#pep-255-s
by jwilk 7y ago
Generators were added in Python 2.2:
https://docs.python.org/2/whatsnew/2.2.html#pep-255-simple-generators https://docs.python.org/2/whatsnew/2.2.html#pep-255-simple-g...
Built-in set objects were added in Python 2.4: https://docs.python.org/2/whatsnew/2.4.html#pep-218-built-in-set-objects https://docs.python.org/2/whatsnew/2.4.html#pep-218-built-in...
defaultdict was added in Python 2.5: https://docs.python.org/2/library/collections.html#collections.defaultdict https://docs.python.org/2/library/collections.html#collectio...