[pyar] reusando decoradores parametrizados

Claudio Freire klaussfreire en gmail.com
Mar Oct 1 01:00:26 ART 2013


On Tue, Oct 1, 2013 at 12:59 AM, Claudio Freire <klaussfreire en gmail.com> wrote:
> my_magic = compose(
>     magic_arguments.magic_arguments()
>     magic_arguments.argument(
>         "-v", "--verbosity", action="count", default=0,
>         help="increase output verbosity"
>     )
>     magic_arguments.argument(
>         '--fcompiler',
>         choices=allowed_fcompilers,
>         help="""Specify Fortran compiler type by vendor.
>                 See %%f2py_help --fcompiler""",
>     )


Oops, faltan las comas entre decoradores


More information about the pyar mailing list