On Tue, 16 Jan 2007, Andreas Kostyrka wrote:
> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [070116 15:19]: >> >> is there a difference between: >> >> class foo: >> >> and >> >> class foo(): > This is a SyntaxError. Hi Andreas, We should ask Emilia why she's asking this question. This particular problem sounds way too close to a homework question for my comfort. A more cautious approach might be better. We can point out: http://www.python.org/doc/tut/node11.html#SECTION0011310000000000000000 http://www.python.org/doc/tut/node11.html#SECTION0011500000000000000000 If Emilia is a CS student, then pointing out the grammar at: http://www.python.org/doc/ref/class.html#tok-inheritance would probably be helpful too. Best of wishes! _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor