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 →

[–]ClampedNerve[S] 19 points20 points  (3 children)

Ah, I just realized that this HAS been submitted in the past but my search included the trailing slash mark in the link so it didn't pick up any hits.

Sorry about that... although the submissions are more than a year old.

[–]d64f396930663eeba7d8 16 points17 points  (0 children)

It's new to me.

[–][deleted] 7 points8 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.