PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

Stubs

Last modified: 17 March 2022

PyCharm supports Python stub files with the .pyi extension. These files allow you to specify the type hints using Python 3 syntax for both Python 2 and 3.