In #Python, @classmethod can used to create alternate constructors for making objects in other ways. Here's a simple example:
=> More informations about this toot | View the thread | More toots from nedbat@hachyderm.io
=> View python tag This content has been proxied by September (3851b).Proxy Information
text/gemini