[Tutor] class decorated was: (no subject)

Alan Gauld alan.gauld at yahoo.co.uk
Sat Dec 25 03:53:24 EST 2021


Please always add a meaningful subject line it helps
find things in the archive.

On 25/12/2021 04:02, James Chambliss wrote:
> Need help understanding how to use class decorated......

You need to be more specific. Are you trying to decorate
a class using the standard decorators? Are you trying
to write a decorator of your own?

Are you trying to decorate the whole class? Or just
methods or attributes within the class?

Do you have a specific task in mind for this decorator?
Or are you just asking out of general interest and curiosity?

The more specific the question the more specific the answer.

Also, it usually helps if you tell us which Python version
and OS you are using.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list