"Invalid Syntax" error when using metaclasses in Python

python

#1

In Python3, it’s completely legal to do

class Foo(metaclass=Bar):
pass

but the Cloud9 seems to think this is incorrect (it would be for Python2) and shows a “invalid syntax” error.

It would be great if the checker knew this. (Or, if I knew there was a different checker for Python3 use.)

Thanks!


#2

you can use project settings page to configure the version of python used for code completion and linting.