title: TypeHinting tuples in Python
body: <p>When I want to typehint a tuple in Python like:</p>
  
  <pre><code>def func(var: tuple[int, int]):
      # do something
  
  func((1, 2))    # would be fine
  func((1, 2, 3)) # would throw an error
  </code></pre>
  
  <p>It is required to give the exact number of items in the tuple. That's different from list typehinting:</p>
  
  <pre><code>def func(var: list[int]):
      # do something
  
  func([1])       # would be fine
  func([1, 2])    # would also be fine
  func([1, 2, 3]) # would also be fine
  </code></pre>
  
  <p>That's consequentially, in a way, because of the type of tuples. Because they are designed not to be changed, you have to hardcode the amount of items in it.</p>
  
  <p>So my question is, is there a way to make the number of items in a tuple type hint flexible? I tried something like that but it didn't work:</p>
  
  <pre><code>def func(var: tuple[*int]):
  </code></pre>