How do you fix, "cannot find declation to go to"?

I was wondering whether there is a way to tell PyCharm about the type of an object.

It is initialized in a way that PyCharm does not seem to understand, and I was wondering whether I can tell it what type of object it is? Perhaps using some sort of comment file.

Thanks!
1 comment
Hi Charley,

PyCharm understands types from restructured and sphinx docstrings and from python3 annotations

Please, find more information at http://www.jetbrains.com/pycharm/webhelp/type-hinting-in-pycharm.html
0

Please sign in to leave a comment.