Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7581592
By: thomasmm
That is a good idea, but I find that it doesn't work. I guess pydev doesn't
parse the 'isinstance' statement?
I hope it will be supported in the future as it is a good solution to the
problem.
Then I would define a static member like this:
class Blah:
shape1 = None; # will be used as a Shape object later.
isinstance( shape1, Shape ); # returns False here, but ignored.
# or
assert isinstance( shape1, (NoneType, Shape) );
______________________________________________________________________
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
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users