
31 May
2017
31 May
'17
11:47 p.m.
01.06.17 10:03, David Mertz пише:
It's awfully easy to add in your own code. Since they are simply aliases, I don't see why bother put the duplication in the standard library. You can even monkey patch if you want it in the 'math' namespace. I'd prefer a bare 'π' in my own code though.
As well as adding tau = 2*math.pi in your own code. But this deserved the whole PEP and was added as a feature in 3.6.