The last bit doesn't look correct. It expects a ( or {. For classes in Python I know it can be a ( for inheritance, or a `:`). A { should never occur, right?