Hi,

Unfortunately we don't have suggestions for you. We are bound to what rope (the completion library we use) can or can't do, and in this case it seems it can't complete your last line.

By the way, we are thinking to switch to Jedi (a new completion library) for Spyder 2.4, which could help to solve this situation.

Cheers,
Carlos

El 19/08/13 07:32, [email protected] escribió:
Hi all,

I have a code, that looks basically like this:

    class A(object):

    def __init__(self):

    pass

    def printInst(self, inst):

    print "I am", inst

    class B(object):

    def __init__(self):

    pass

    def testA(self, inst):

    assert isinstance(inst, A)

    inst.


Do you have any suggestions, how to convince Spyder to auto-complete the last line into inst.printInst? The line assert isinstance(inst, A), which is helping PyDev to auto-complete the code seems to be ignored completely by Spyder.



--
You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to