title: Python 3.10+: Optional[Type] or Type | None
body: <p>Now that Python 3.10 has been released, is there any preference when indicating that a parameter or returned value might be optional, i.e., can be <code>None</code>. So what is preferred:</p>
  <p><strong>Option 1:</strong></p>
  <pre class="lang-py prettyprint-override"><code>def f(parameter: Optional[int]) -&gt; Optional[str]:
  </code></pre>
  <p><strong>Option 2:</strong></p>
  <pre class="lang-py prettyprint-override"><code>def f(parameter: int | None) -&gt; str | None:
  </code></pre>
  <p>Also, is there any preference between <code>Type | None</code> and <code>None | Type</code>?</p>