what does it mean when it says unexpected eof while parsing


good change you missed a quotation mark or apstrope to close the string, please post your code


i was trying to form a class

class Animal(object):

2. class Animal(object):

the error came up int he second time when i tried it without the pass.


a class can't be empty, it need context, given there is no content it says unexpected EOF (end of file) (the file is finished, but more code is expected)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.