When I ctrl+click a import name in PyCharm, it will often take me to the stub file instead of the source.
For example, following the ssl name in:
import ssl
Will take me to somewhere like:
~/pycharm/helpers/typeshed/stdlib/2and3/ssl.pyi
When I wanted to go instead to:
/usr/local/lib/python3.7/ssl.py
This is an intermittent but frequently reoccurring problem and I'm not sure what triggers it. I don't want to see the typeshed stubs. How can you prevent PyCharm from preferring to open .pyi files instead of source files?