[Python-Dev] Decorator syntax J2 (decorate..def), with implementation

Barry Warsaw barry at python.org
Mon Aug 16 02:19:22 CEST 2004


On Sun, 2004-08-15 at 19:58, Nick Coghlan wrote:

> What about the variant which makes the block optional when there is only 
> one decorator?

Better, but I'm still not crazy about it, mostly because of the new
keyword.  I think you'd have to add an __future__ to get it into Python
2.4.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : [Python-Dev] Decorator syntax J2 (decorate..def),
	with	implementation

	
  • Next message: [Python-Dev] Decorator syntax J2 (decorate..def), with implementation
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  • 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