[wingide-users] isinstance hint in for-loop
Wing IDE Support
support at wingware.com
Mon Nov 9 13:13:10 MST 2009
On 11/9/09 2:50 PM, Thomas Mulvany wrote:
> i tried creating isinstance hints for several variables at once using
> the following code:
>
> for x in (a,b,au,bu):
> assert (isinstance(x,str))
>
> didn't work. individual isinstance hints for each variable does work, of
> course. is there an easy way to provide hints for several variables at once?
I can't think of any way to do something like the above. We'll try to
add something in the future, though it would likely be a ways off.
Thanks for using Wing!
John
More information about the wingide-users
mailing list