Hi Alperen,
Why do you need a class at all rather than just a module with some functions?
Irit
On Tuesday, October 6, 2020, 01:38:21 PM GMT+1, Alperen Keleş
<[email protected]> wrote:
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 -- [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/5FE6HAYMRR727HWRQXNQU6LWLCKFTBR2/
Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________
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/YF6TUVHLE6U7DJPM2VCTS2MDK5KI42MK/
Code of Conduct: http://python.org/psf/codeofconduct/