[Python-Dev] Re: Decorators: vertical bar syntax

Mike Thompson mike.spam.filter at day8.com.au
Sat Aug 7 09:00:01 CEST 2004


Terry Reedy wrote:

> 
> Is a space allowed after the prefic character, whatever it might be?  With
> 
> def foo():
>    | classmethod
>    | accepts(int,int)
>    | returns(float)
> 


Thats it!  I love it.




More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant