3 ms·
Please tell Guido that he got it wrong! > Only reduce will be removed from the 3.0 standard library. You can import it from functools.
by legerdemain 6y ago
Please tell Guido that he got it wrong!
> Only reduce will be removed from the 3.0 standard library. You can import it from functools.
- geofft 6y agoHe did, in fact, misspeak. functools is part of the standard library, and was part of the standard library in 3.0, and contained reduce: https://github.com/python/cpython/blob/3.0/Lib/functools.py#L10 https://github.com/python/cpython/blob/3.0/Lib/functools.py#... What he meant to say is that it's removed from the list of builtins.