Andreas Kostyrka wrote:
> * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [070116 15:19]:
>> is there a difference between:
>>
>> class foo:
>>
>> and
>>
>> class foo():
> This is a SyntaxError.

In Python 2.5 it is allowed and creates an old-style class, the same as 
if the parentheses are omitted.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to