> Dont restrict them to particular types. You would
> not restrict them to a particular class in C#. Instead, you define the
> interfaces simply by how you use the objects.

Of cource i restrict them to particular types! In C# you cannot pass
something bad
this way because the compiler will just catch it!

I see what you mean by "duck typing". So you suggest the "do nothing
at all" direction,
better document my code so other can see what is expected, right ?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to