Well Python 2 "protects" you from silly things like that and throws a syntax error.
In [4]: class АnotherClass():
...: pass
File "<ipython-input-4-ad6e67ea5e19>", line 1
class АnotherClass():
^
SyntaxError: invalid syntax