Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Python-patterns – A collection of design patterns/idioms in Python. Parent comment
"""python
from functools import partial
def greeter(name):
print(f"Hello {name}")
greet2 = partial(greeter, "Sue")
greet1()
greet2()
"""
There are no comments on this comment yet.
"""python
from functools import partial
def greeter(name):
greet1 = partial(greeter, "Joe")greet2 = partial(greeter, "Sue")
greet1()
greet2()
"""