How to specify that a parameter is a list of specific objects in Python docstrings
In comments section of PyCharm’s manual there’s a nice hint from developer: #: :type: dict of (str, C) #: :type: list of str It works for me pretty well. Now it makes me wonder what’s the best way to document parametrized classes in Python :).