Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
steamboiler
on April 12, 2012
|
parent
|
context
|
favorite
| on:
A primer on Python decorators
Nice description. I'd suggest explaining how decorators that accept arguments (i.e. @memcached('some-arg')) work lest it befuddle some beginner. It is not straightforward (the first argument of a decorator is the function being decorated).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: