Type hinting not always working in pycharm 2018.1?

前端 未结 1 1018
独厮守ぢ
独厮守ぢ 2021-01-06 07:18

I have started to use type hinting today. After reading documentation about type hinting I tried to write some dumb examples to check how it works and was stuck at something

1条回答
  •  长发绾君心
    2021-01-06 07:59

    PyCharm doesn't check types for variable assignments, unfortunately. Please vote for PY-24832.

    0 讨论(0)
提交回复
热议问题