From: Gordon H. <Gor...@or...> - 2002-01-31 06:34:28
|
Hi All, I went to the jython site today looking for a copy of the software - the link sent me to sourceForge, but there was not a copy of the software available. Does anyone know where I can get the Jython bundle please? Thanks in advance Gordon dman wrote: > On Wed, Jan 30, 2002 at 02:34:46PM -0800, Yang Wang wrote: > | Hi All, > | > | In Jython, how would user examine a variable to see its inheritance > | tree? In Java, it can be easily done with keyword "instanceof". > > In *python* (remember, jython is an implementation of the python > language) the function 'isinstance()' given an instance object and a > class object will return true or false indicating if the instance is > an instance of the class (or a subclass). > > -D > > -- > > Micros~1 : > For when quality, reliability > and security just aren't > that important! > > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users |