On Thu, Jan 22, 2015 at 10:12 PM, Mario Figueiredo <mar...@gmail.com> wrote:
> I agree. TypeVar will help tremendously by removing the need for union in
> cases of object inheritance. But only on cases of object inheritance.

Why only inheritance? One of the examples is of str and bytes, which
don't have any inheritance relationship (they both just subclass
object), and it works just fine for that.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to