Thank everyone! I just want to use a class that holds global variables and has a value that can be easily calculated. So I thought it would be more elegant to use "@staticproperty". These is just my personal thought and not necessary. Now you've given me the solution. _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/A22ZY2SRYQ4ED47LIJ7KLL2O3QV45WVD/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Add a decorators called @staticpropert... me
- [Python-ideas] Re: Add a decorators called @stat... Chris Angelico
- [Python-ideas] Re: Add a decorators called @stat... Christopher Barker
- [Python-ideas] Re: Add a decorators called @... Joao S. O. Bueno
- [Python-ideas] Re: Add a decorators call... Danilo J. S. Bellini
- [Python-ideas] Re: Add a decorators called @stat... Ethan Furman
- [Python-ideas] Re: Add a decorators called @... Chris Angelico
- [Python-ideas] Re: Add a decorators called @stat... Chen Jintao
- [Python-ideas] Re: Add a decorators called @stat... Serhiy Storchaka
- [Python-ideas] staticmethod vs classmethod [... Ethan Furman
- [Python-ideas] Re: staticmethod vs class... Serhiy Storchaka
- [Python-ideas] Re: staticmethod vs c... Neil Girdhar
- [Python-ideas] Re: Add a decorators called @... Christopher Barker
