Expecting Tuple[Any, Any, Any] was too strict, because it didn't match the interface that functions could expect from an object inheriting from a tuple. This resulted in many mypy errors that would be annoying to address. __init__ now takes an Iterable and the check for the length has been moved to runtime.
Expecting
Tuple[Any, Any, Any]
was too strict, because it didn't match the interface that functions could expect from an object inheriting from atuple
. This resulted in manymypy
errors that would be annoying to address.__init__
now takes anIterable
and the check for the length has been moved to runtime.