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

I'd like to 'help' pydev by giving it some info about my types - so that it
can provide me with auto-complete information, and so that it doesn't mar

The problem is that I often initially assign attributes the 'None' value, and
then set their actual value later.  This typically comes up with class types.
I guess this is the equivelent of assigning a null value to a reference in other
languages.

The result seems to be that pydev/pylint thinks the attribute has a type of
None (which is true, initially).

Is there some way that I can 'tell' pydev what the correct type is?  Ideally
it would be better if I could do this in the source code, rather then in
a configuration file, since that would be more convenient and because it is
useful information for documenting the program.


______________________________________________________________________
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

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to