decorator with ```

Anthony Baxter anthonybaxter at gmail.com
Fri Aug 13 03:05:25 EDT 2004


On Thu, 12 Aug 2004 13:32:28 +0400 (MSD), Roman Suzi <rnd at onego.ru> wrote:
> 
> One more crazy syntax before-def but which could be treated
> more generally:
> 
> ```"""  Factory for new decorator syntaxes.
> 
>          Keeps all proposals in a list and will recombine
>          them at random if called without a spec. """
>    staticmethod```
> def makeDecoratorSyntax(spec=None):

-1. "Syntax should not look like grit". 

Note that my dislike of the backtick also led me to nag about stripping them
from the stdlib.



More information about the Python-list mailing list