Skip to content

Instantly share code, notes, and snippets.

View rmccorm4's full-sized avatar
💭
I may be slow to respond.

Ryan McCormick rmccorm4

💭
I may be slow to respond.
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Zearin
Zearin / python_decorator_guide.md
Last active March 27, 2024 05:48
The best explanation of Python decorators I’ve ever seen. (An archived answer from StackOverflow.)

NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.


Q: How can I make a chain of function decorators in Python?


If you are not into long explanations, see [Paolo Bergantino’s answer][2].