Hi James,

On 21 octobre 18:44, James Lingard wrote:
> The following function declaration incorrectly gives a C0322 ("Operator not
> preceded by a space") error.
> 
> @f(a=2,
>    b=3)
> def g1(x):
>     print x
> 
> The following three elements need to all be present in order to generate
> this error:
> 
> -- using a function call expression as a function decorator
> -- the expression must be split over multiple lines
> -- the function is called using a keyword argument

Would you file a ticket please?

Thank you for the report, regards

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to