...up?
On Thu, 6 Aug 2020 at 04:41, Marco Sulla <[email protected]> wrote: > Think if you're able to do: > > > from aenum import const > @const a = 5 > > > Notice that I'm using the "at" char because I can't find a better character. > > I give the rest to your imagination: > > > # previous declarations of x in the same scope are a SyntaxError > @var x = None > > # simulate electrical circuit > c = a @nand b > > # Java style > @final class A: > @protected _x = 0 > > # ...maybe someday > @int a = 1 _______________________________________________ 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/NEWIZGCZFUJ23FYNX54PEPP3LCDGK7JB/ Code of Conduct: http://python.org/psf/codeofconduct/
