HN2
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anfedorov
on Nov 3, 2013
|
parent
|
context
|
favorite
| on:
Painless Decorators in Python
Great library! I wrote something similar once [1] and thought two special cases might be useful to optimize for: a predecoration that modifies the arguments to a function and a postdecoration that modifies the return value.
1.
https://github.com/anfedorov/decorations
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
1. https://github.com/anfedorov/decorations