[wingide-users] isinstance hint in for-loop

Thomas Mulvany tmulvany at sbcglobal.net
Mon Nov 9 12:50:30 MST 2009


hi,

first, i'm a very happy customer.  thanks for a great product.

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?

Thomas Mulvany
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20091109/16546239/attachment.html


More information about the wingide-users mailing list