Hacker News new | ask | show | jobs
by efrank02 1560 days ago
partial() is really useful and often overlooked
1 comments

But it’s not a builtin. partial() is in the functools module.
I’m confused on this point, isn’t functools part of the standard library? Or has this changed?
Built-ins are available without import. Stdlib are available without separate install.
> Built-ins are available without import.

That distinction is a bit muddy:

    >>> import os
    >>> type(os.scandir)
    <class 'builtin_function_or_method'>