title: Can generic type hints like Dict and List be used bare, without square brackets?
body: <p>The docs on <a href="https://docs.python.org/3/library/typing.html#typing.Dict" rel="nofollow noreferrer"><code>Dict</code></a> show it being used as a generic type, like this:</p>
  
  <pre><code>def get_position_in_index(word_list: Dict[str, int], word: str) -&gt; int:
      return word_list[word]
  </code></pre>
  
  <p>It would also, of course, be correct to type-hint <code>word_list</code> above as <code>dict</code>:</p>
  
  <pre><code>def get_position_in_index(word_list: dict, word: str) -&gt; int:
      return word_list[word]
  </code></pre>
  
  <p>But is it correct to use <code>Dict</code> as a type-hint on its own to indicate a <code>dict</code> with keys and values of any type, like this?</p>
  
  <pre><code>def get_position_in_index(word_list: Dict, word: str) -&gt; int:
      return word_list[word]
  </code></pre>
  
  <p>(And likewise, can other generic types like <code>List</code> and <code>Sequence</code> be used bare in this way?)</p>