From: Alex P. <Ale...@da...> - 2005-05-23 15:54:57
|
Great, that does the trick nicely. Thanks. -----Original Message----- From: jyt...@li... [mailto:jyt...@li...] On Behalf Of Jeff Emanuel Sent: 23 May 2005 15:59 To: "Alex Pollitt"@frii.com Cc: Jython Usesr Subject: Re: [Jython-users] To stupid to live??? Problems with coercing non-numeric types. Define a __tojava__ method in your class. class StringValue: def __init__(self,s): self.s=3Ds def __tojava__(self,cls): return self.s.__tojava__(cls) ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=3D7412&alloc_id=3D16344&op=3Dclick _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |