3 ms·
In case anyone is curious, sets were dicts in the original implementation: https://github.com/python/cpython/blob/a690a9967e715663b7a421c9ebdad91381cdf1e4/Objec
by viraptor 6y ago
In case anyone is curious, sets were dicts in the original implementation: https://github.com/python/cpython/blob/a690a9967e715663b7a421c9ebdad91381cdf1e4/Objects/setobject.c https://github.com/python/cpython/blob/a690a9967e715663b7a42...
It was changed in 2005 for python 2.5 https://github.com/python/cpython/commit/9f1a6796eb83a2884df5fd93487634e46d8830a7 https://github.com/python/cpython/commit/9f1a6796eb83a2884df...