Hacker News new | ask | show | jobs
by abhirag 3077 days ago
Returning a function would be returning a callable object, which is what I was alluding to. The section under "Decorator Toolbox" contains no suggested usecases for returning a non-callable object, will try and think of something.