title: Type Hint: same variable length tuples for input and output
body: <p>Let's say I have a function as follow:</p>
  
  <pre class="lang-py prettyprint-override"><code>from typing import Tuple
  
  def add_one(numbers: Tuple[int, ...]) -&gt; Tuple[int, ...]:
      return tuple(number+1 for number in numbers)
  </code></pre>
  
  <p>This function takes a Tuple of variable length as an input, and returns another Tuple with the same length.</p>
  
  <p>My questions is: how can I express this with type hints ?
  As you can see in my example, I was only able to express that both input and output tuples had variable length, not that they have the same.</p>
  
  <p><em>Edit: this is a dummy example that I used to explain what I meant, while I wouldn't implement it this way IRL, I got a much more complex function that would justify the need for this kind of type hint</em></p>