One should use isinstance instead of `type(A) ==` because of inheritance. There should be an exception if a list of `elif`s don't match. Make Polyline not only accept tuples, but any iterable.
One should use isinstance instead of `type(A) ==` because of inheritance. There should be an exception if a list of `elif`s don't match. Make Polyline not only accept tuples, but any iterable.