Decorator syntax

Andrew Bennetts andrew-pythonlist at puzzling.org
Thu Aug 5 04:23:58 EDT 2004


On Thu, Aug 05, 2004 at 04:25:13AM +0000, Paul McGuire wrote:
[...]
> 
> I fear that $, ^ and ~ are just around the corner.

No need to fear: ^ and ~ are already there.

>>> ~1
-2
>>> 1^2 
3

-Andrew.




More information about the Python-list mailing list