Sometimes I write projects and don’t return to them until months later. Unfortunately for me I forget what was intended to be passed into a function. I would like to be able to hover over an argument and see the type such as integer, string, some class, etc. Is there an IDE out there that will do this for me? Any help is appreciated.
Sometimes I write projects and don’t return to them until months later. Unfortunately for
Share
There is no way to infer the type normally, so no IDE will be able to do this. Why not just use docstrings?
In Python 3 you could also take advantage of function annotations: