3 ms·
I cut my teeth on 2.2-2.4 and remember getting my hand slapped when 2.4 landed and I used a decorator for the first time. It was to allow only certain HTTP ver
by spamizbad 7y ago
I cut my teeth on 2.2-2.4 and remember getting my hand slapped when 2.4 landed and I used a decorator for the first time.
It was to allow only certain HTTP verbs on a controller function. A pattern adopted by most Python web frameworks today.