title: How to "hint" the type of an empty list in python
body: <p>I have a Class:</p>
  
  <pre><code>class MyClass(object):
      def __init__(self):
          self._subscribers = []
  </code></pre>
  
  <p>and i want to specify the type that will go into the list 'self._subscribers'. for example a queue.Queue() object. but the list should still be an empty list.</p>
  
  <p>just for ease of use in PyCharm</p>
  
  <pre><code>self._subscribers = [queue.Queue]
  self._subscribers = list[queue.Queue]
  </code></pre>
  
  <p>both don't seem to work</p>
  
  <p>thanks</p>
  
  <p>PS.: Python 3.64</p>