top of page

Decorators in Python?

Updated: Feb 10, 2023

Decorators are used to modify the behavior of function or class. In Decorators, functions are taken as the argument into another function and then called

inside the wrapper function.

Hello World

Where you implemented decorator in your project code.?

decorators are easy to add log statements, to any function call.

sum function call started
sum is  30
sum function call ended 

Thanks for reading!!!

Your Rating and Review will be appreciated!!

Twitter: @LearnerLandmark

101 views0 comments

Recent Posts

See All
bottom of page