Skip to content

Instantly share code, notes, and snippets.

@techkuz
Last active April 30, 2021 12:23
Show Gist options
  • Save techkuz/fd93fe4d4cdac5209716f59ae0ebf4c7 to your computer and use it in GitHub Desktop.
Save techkuz/fd93fe4d4cdac5209716f59ae0ebf4c7 to your computer and use it in GitHub Desktop.
from functools import partial
def test(a, b, c):
print(a)
print(b)
print(c)
foo = partial(test, b=6, c=7)
foo(1) # prints (1,6,7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment