Well, if you remove one, you loose the ability to do what it does.
Iteration is a good example of this. `for i in ((1, 2, 3), (4, 5, 6))`
iterating as `1, 2, 3, 4, 5, 6` and `(1, 2, 3), (4, 5, 6)` are both
useful.

As another argument, it doesn't make sense to force constructs like
shape and matrix multiplication on to arbitrary container types.

Aaron Meurer

On May 15, 2012, at 3:21 PM, "[email protected]"
<[email protected]> wrote:

>> I gave two other examples where they differ: the constructors and
>> iteration. Actually, it seems to me now that there's very little that
>> they actually do share in exactly the same way.
>>
> Yes, but these examples are about their interface, not whether they
> serve similar functions. It is argument in favor of no common
> subclassing, but it is not in favor of not removing one of them.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sympy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sympy?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to