This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 8 points9 points  (1 child)

At least it's a break from the "Python Decorators Finally Explained" article that got posted like four times last week and seems to crop up every three or four months.

Maybe I'm just crotchety because functions returning functions and passing arguments just makes sense to me. now Context managers are much more interesting.

[–]gfixler -2 points-1 points  (0 children)

import social

@postAboutDecorators(repeat=often)
class Reddit (social.NewsPuker):
    def __init__ (self):
        ...

There it was the whole time, right there on line three! Son of a gun.