title: Type hinting a collection of a specified type
body: <p>Using Python 3's function annotations, it is possible to specify the type of items contained within a homogeneous list (or other collection) for the purpose of type hinting in PyCharm and other IDEs?</p>
  
  <p>A pseudo-python code example for a list of int:</p>
  
  <pre><code>def my_func(l:list&lt;int&gt;):
      pass
  </code></pre>
  
  <p>I know it's possible using Docstring...</p>
  
  <pre><code>def my_func(l):
      """
      :type l: list[int]
      """
      pass
  </code></pre>
  
  <p>... but I prefer the annotation style if it's possible.</p>