title: How can I set the same type as class in method's parameter following PEP484?
body: <p>My question is related with the new Python's type hints. I'm trying to add a type hint in an object's method who has a parameter of the same type of the object, but PyCharm are marking me as error (<code>unresolved reference 'Foo'</code>). The problem is as follows:</p>
  
  <pre><code>class Foo:
  
      def foo_method(self, other_foo: Foo):
          return "Hello World!"
  </code></pre>
  
  <p>So the question is how to define the type of <code>other_foo</code> parameter properly. Maybe <code>__class__</code> is correct?</p>