[Python-Dev] Re: new syntax for wrapping (PEP 318)

Barry Warsaw barry at python.org
Wed Feb 25 21:18:36 EST 2004


On Wed, 2004-02-25 at 19:05, Paul Prescod wrote:
> I hate to get into this loop where a hundred syntax options are 
> discussed, most of them having been disgarded before, but why not use 
> angle-brackets rather than square-brackets?
> 
> def foo(self) <classmethod, hiddenmethod>:
> 	pass

Of course, you meant << and >> right? :)

-Barry





More information about the Python-Dev mailing list