>
> - Decorators will allow a list of command names:
>
> @cmd(['clone-find-all','find-clone-all'])
>
> May I suggest not to use the list notation but instead just

@cmd('clone-find-all','find-clone-all')

The '*args' (or more aptly named '*command_names') parameter in the 
function definition of 'cmd' already provides an iterable. Using two 
different syntaxes for @cmd parameters (str and list) would be an 
additional cognitive burden.

Reinhard

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to