PyDev 1.3.9 code compleition trouble

Vyacheslav Maslov vmaslov at swsoft.com
Tue Oct 9 12:13:34 CEST 2007


Hi!

I use Pydev 1.3.9 and notice issue related to code completion. I give an 
example

BaseClass.py:

class BaseClass:
     def someMethod(x):
         return x+x

DerivedClass.py:

import BaseClass

class DerivedClass(BaseClass.BaseClass):
     def newMethod(self):
         print self.someMethod(4)


I try to use code completion in class DerivedClass inside method 
"newMethod", after typing "self." and pushing ctrl+space completion 
dialog propose substitution only for method "newMethod". However, i 
expect that method defined in BaseClass called "someMethod" should be 
proposed also as well. Why this doesn't work?



More information about the Python-list mailing list