Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5487817
By: boris_g

Hello,
consider a function that is defined as follows:
def f (obj_of_class_X):

I want to be able to see the public interface of obj_of_class_X object, but
naturally PyDev has no idea what is the class of that object. To workaround
this problem I put the following line at the beginning of the function:
obj_of_class_X = X()  #DELETE ME
 

Now code completion works fine, however I do have to remember to delete this
bogus line. Is there a cleaner way to workaround this problem?

Thanks

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=293649

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to