Message1556
Using Jython 2.2b1, this form of import
import java
import java.lang
class Backplane(java.lang.Object):
def performSetup(self, arg):
"@sig public void performSetup(java.lang.String arg)"
... # do something e.g. self.arg = arg
does not provoke the generation of the performSetup() method; you have to do the import as a "from", like this
from java import lang
class Backplane(lang.Object):
def performSetup(self, arg):
"@sig public void performSetup(java.lang.String arg)"
...
in order to generate the public method in the enclosing class.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:17:47 | admin | link | issue1701719 messages |
2008-02-20 17:17:47 | admin | create | |
|