Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Design Patterns in Python (Free Book).
Two examples, what i consider (very simple) Python patterns (without fancy names though):
if __name__ == "__main__": ... def MyDecorator(func): def wrapper(...): def my_func(*args, **vargs): ... return my_func return wrapper
There are no comments on this comment yet.
Two examples, what i consider (very simple) Python patterns (without fancy names though):