Raymond Hettinger <[email protected]> added the comment:
> Your suggested signature looks like it's trying to support > the second invariant, but it doesn't quite: if the types > don't match, the type checker will just set T to the > common base type of the two arguments. Is there a way to write the second invariant correctly? ---------- _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue46669> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
