On Mon, Dec 12, 2011 at 2:38 PM, Masklinn email@example.com wrote:
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.
<shameless> pyopt uses annotations as types for parsing command line options if that counts: