HI,

When I check example of "cmd2" module (a enhancement of cmd module), I
can not understand all, for example: the  character "@",

+++++++++++++++++++++++++++++++++++++++++++++++++++++
def options(option_list):
     ..........<function content>........

class cmd(...):
    ...............................
    @options([make_option('-p', '--piglatin', action="store_true",
help="atinLay")])
+++++++++++++++++++++++++++++++++++++++++++++++++++++

I do not understand what "@options" does,   most time, I know what the
meaning of character "*" and character "**", but I was not use "@"
before.

Thanks for your help.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to