[wingide-users] isinstance hint in for-loop

Mark Jones mdjones0978-wingide at yahoo.com
Mon Nov 9 13:33:38 MST 2009

Would it be possible to put these isinstance calls in comments as well?  So we don't take any kind of performance penalty during production?

From: Thomas Mulvany <tmulvany at sbcglobal.net>
To: wingide-users at wingware.com
Sent: Mon, November 9, 2009 1:50:30 PM
Subject: [wingide-users] isinstance hint in for-loop


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/f484918e/attachment.html

More information about the wingide-users mailing list