Computer Science, asked by prabal22, 1 year ago

decorators in python

Answers

Answered by mgssksinha
0

sorry I can't understand the question


prabal22: concept of decorators in python what is it and why it is used
mgssksinha: oo sorry bro I haven't read this ch yet
mgssksinha: is it in class 12
Answered by Santhosekumar
1

Answer:

A decorator in Python is any callable Python object that is used to modify a function or a class. A reference to a function "func" or a class "C" is passed to a decorator and the decorator returns a modified function or class.

Hope you like my answer :) Make it as brainilist :)


Santhosekumar: Make it brainly if you like it :)
prabal22: ya sure
Santhosekumar: Thanks :)
Similar questions