Today I've learned
  • Home
  • About me
Sign in Subscribe

decorators

A collection of 1 post
Python

Python: Decorators

A decorator is basically a function that takes another function as an argument. It adds to or changes the functionality of that function Can you live without dicorators? Sure, you can add the needed extra functionality to your functions directly without using this decorators stuff, but you'd want
04 May 2024 3 min read
Page 1 of 1
Today I've learned © 2026
  • Sign up
Powered by Ghost