In my Python installation for python3.7, ctypes is installed. For example, __init__.py is located in: /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/__init__.py. This makes sense to me.
Note: my OS is MacOS Mojave, 10.14.3.
ctypes constantly refers to _ctypes. I use PyCharm, and when I control-left click on _ctypes, it takes me to: /Users/myuser/Library/Caches/PyCharmCE2018.3/python_stubs/-1199943126/_ctypes.py.
Why is _ctypes.py in this random folder, and not in the folder installed with Python 3.7?