Hi,

Please pardon me if my idea is not making sense or already exists, I'm kind
of new to developing in Python but I had this idea today and I wanted to
share it with you.

I think a class type such as "@functionclass" may be helpful for creating
functions intended to keep a list of methods in a scope.

At the moment, I achieved this via writing "@classmethod" to all my
functions but I think such a decorator might help clarify intent for the
reader and ease the programmers' job.

My regards,
Alperen
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/5FE6HAYMRR727HWRQXNQU6LWLCKFTBR2/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to