[Tutor] Server Error

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Mon Aug 23 19:23:20 CEST 2004



On Mon, 23 Aug 2004, Ms Soo Chong wrote:

> When I replaced, a syntax error appeared:
>
> File "<stdin>", line 33
>      def__str__(self):
>                      ^
>
> SyntaxError: invalid syntax

Hi Shufen,

Ah, this is a quick fix.  Look more closely at the line with the error
message --- there's no space between the 'def' and the method name.



More information about the Tutor mailing list