4 ms·
Decorators can do this? I did not know this. I thought decorators just get handed the object after initialization, so something like: @blah class Lol:
by cheez 13y ago
Decorators can do this? I did not know this. I thought decorators just get handed the object after initialization, so something like:
@blah
class Lol:
pass
is equivalent to:
class Lol:
pass
blah(Lol)
What am I missing?