首先在File->Setting->Editor->Code Style->File Types中找到Python Stub。 然后将Registered Patterns里面的内容清空就好了。
https://blog.csdn.net/qq_37463321/article/details/90443209