Closed blueyed closed 8 years ago
Can you elaborate?
I would like to use something like this:
# :type client: Client
client = get_some_client()
This could be useful when jedi does not get it correctly (as with #543).
Hmm, what ways of using comments as type hinting are there already (in PyCharm, PyDev, etc)?
I don't know.
Here's how PyDev does it: http://pydev.org/manual_adv_type_hints.html
PyCharm has a similar feature (linking purely for inspiration) : https://www.jetbrains.com/pycharm/help/type-hinting-in-pycharm.html#d281633e18247
I'm closing this one, because we're merging very very soon.
It would be nice to allow for type hinting within a function, above an assignment.
(via https://github.com/davidhalter/jedi/issues/421#issuecomment-45447033)