12 Dec
2011
12 Dec
'11
4:41 a.m.
On Mon, Dec 12, 2011 at 2:38 PM, Masklinn <masklinn@masklinn.net> 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: http://code.google.com/p/pyopt/ </shameless> --Yuval