> From: Ivan Levkivskyi [mailto:levkivs...@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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com