title: How to do structural pattern matching in Python 3.10 with a type to match?
body: <p>I am trying to match a type in Python 3.10 using the console:</p>
  <pre><code>t = 12.0
  match type(t):
    case int:
      print(&quot;int&quot;)
    case float:
      print(&quot;float&quot;)
  </code></pre>
  <p>And I get this error:</p>
  <pre><code>  File &quot;&lt;stdin&gt;&quot;, line 2
  SyntaxError: name capture 'int' makes remaining patterns unreachable
  </code></pre>
  <p>How can I fix this issue?</p>