[Tutor] it is about definitions

Andreas Kostyrka andreas at kostyrka.org
Tue Jan 16 15:41:32 CET 2007


* emilia12 at mail.bg <emilia12 at mail.bg> [070116 15:19]:
> 
> is there a difference between:
> 
> class foo:
> 
> and
> 
> class foo():
This is a SyntaxError.
> 
> or between these function definitions:
> 
> def bar():
> 
> and
> 
> def bar:
This too.

Andreas


More information about the Tutor mailing list