Class decorator

Help
sevaader
2011-12-06
2013-05-01
  • sevaader
    sevaader
    2011-12-06

    Boa Constructor V0.6.1
    Python 26.

    I would like to use decorator on a class to add a decorator on each methods.
    When I use @decorate_method on the methods it works.

    but when i use @decorate_cls on the class, Boa Constructor gives me "Invalid Syntax".

    Is it a bug ?

     
  • sevaader
    sevaader
    2011-12-06

    The code works on another IDE. It there a way to fix it ?