Decorators in Python - GeeksforGeeks thumbnail
Decorators in Python - GeeksforGeeks
www.geeksforgeeks.org
Decorators allow us to wrap another function in order to extend the behaviour of the wrapped function As stated above the decorators are used to modify the behaviour of function or class. You can store the function in a variable pass the function as a parameter to another function return the functio
2 Users
0 Comments
7 Highlights
0 Notes

Top Highlights

  • Decorators allow us to wrap another function in order to extend the behaviour of the wrapped function
  • As stated above the decorators are used to modify the behaviour of function or class.
  • You can store the function in a variable
  • pass the function as a parameter to another function
  • return the function from a function

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.