[wingide-users] code analysis (go to definition)
Stan Pinte
stan at phidani.be
Tue Jun 7 05:29:04 EDT 2005
Wingware Support wrote:
> Stan Pinte wrote:
>
>> in module A, I have a class X, inheriting from class Z, defined in
>> module B.
>>
>> in module A, I therefore do a "from B import Z"....and lower in the
>> file A.py, I define class "def class X(Z)"...
>>
>> when I click on Z, wingide says "cannot infer type"...
>
>
> It says it cannot infer type of X even when the cursor is on the Z
> because it's confused by the 'def class X'. If the code is changed
> to 'class X(Z)', then the source assistant is correct.
>
> John
>
>
I of course made a typo in my email, because "def class X:" would not be
accepted by the python interpreter...
--> even with the good syntax, the "cannot infer type" is present.
More information about the wingide-users
mailing list