An exploration of partial() and partialmethod() in functools

  • Zeusbottom@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    My favorite usage of partial() is when I’m print()ing to a file. So helpful to keep the code readable and easy to change.