On 2011-12-10, at 15:42 , Oleg Broytman wrote:
You can use annotations. See PEP 3107. Twas implemented in Python 3.0.
It's not used by the runtime though (I think IDEA/PyCharm uses it, but
I wouldn't bet on it), so it's mostly documentary at this point.