Ned Batchelder wrote:
Couldn't you simply annotate it as ": type", without using a TypeVar?
Not if you want to constrain two types to be the same type. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Ned Batchelder wrote:
Couldn't you simply annotate it as ": type", without using a TypeVar?
Not if you want to constrain two types to be the same type. -- Greg -- https://mail.python.org/mailman/listinfo/python-list