From: John G. <jgo...@co...> - 2001-09-04 13:08:32
|
"Robert W. Bill" <rb...@di...> writes: >> >> There seems to be no way to specify two @sig lines. > > True, but jythonc doesn't require multiple sigs. > OK, your example worked for that problem (thanks!) However now I've got another one. I have a case in Java where a constructor can take either a BigDecimal, an int, or a String as an argument. I need to clone this constructor in Python. In this case, it seems I do need multiple @sigs, right? I suppose if it weren't for the int option, I could just say java.lang.Object, but that's kinda ugly anyway. -- John -- John Goerzen <jgo...@co...> GPG: 0x8A1D9A1F www.complete.org |