Revision history [back]
Wing tries to infer types on its own so if a function contains 'return ""' it should know that variables assigned the return value of that function are strings (possibly among other types).
You can also use various different methods for type hinting, including PEP 484 and PEP 526 type hinting or adding isinstance() assertions. The details are described in https://wingware.com/doc/edit/helping-wing-analyze-code
Wing tries to infer types on its own so if a function contains 'return ""' it should know that variables assigned the return value of that function are strings (possibly among other types).
You types).You can also use various different methods for type hinting, including PEP 484 and PEP 526 type hinting or adding isinstance() assertions. The details are described in https://wingware.com/doc/edit/helping-wing-analyze-code