Type Hinting
Does Wing Ide Pro 6.1.1-1 support type hinting. Like if return type is none for function and function is assigned to a variable Wing can catch.
First time here? Check out the FAQ!
Does Wing Ide Pro 6.1.1-1 support type hinting. Like if return type is none for function and function is assigned to a variable Wing can catch.
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...
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2018-10-13 00:44:00 -0600
Seen: 746 times
Last updated: Mar 06 '19
Equivalent of PyCharms Code Inspection
Why Wing marks multiline tuple of statements as Syntax Error, but debugs and runs it just fine?
Does WingIDE support PEP-484 (Type hints) for Python 2.7?
How to fix file paths when going to source reference?
source index item menus do not show
Update from 7.2.1.0 to 7.2.2.0 will cause the source analysis failed to work.