From: Ivan Levkivskyi [mailto:levkivskyi@gmail.com]
You should use List[int] (note capital first letter) and similar for other generic types. Please read https://docs.python.org/3/library/typing.html The fact that this is accepted by PyCharm is a PyCharm bug, and should be reported on their tracker.
Thank you. I've reported the issue to jetbrains, and also reported the jetbrains help page for type hinting in pycharm, which describes and provides examples using lowercase, and is where I learned about python type hinting. Based on what you've said, it appears it's both a pycharm bug, and also a jetbrains documentation bug.