kagxin / blog

个人博客:技术、随笔、生活
https://github.com/kagxin/blog/issues
7 stars 0 forks source link

pycharm 中使用类型提示 #42

Open kagxin opened 5 years ago

kagxin commented 5 years ago

pycharm中使用类型提示

image

想让一个函数参数变量可以使用自动方法提示,可以使用类型提示

image

ref: https://www.jetbrains.com/help/pycharm/type-hinting-in-product.html