javaclass

Changeset

14:946dca5710ea
2004-11-09 Paul Boddie raw files shortlog changelog graph Changed the Python equivalent of <init> to be a special __java_init__ method.
classfile.py (file)
     1.1 --- a/classfile.py	Tue Nov 09 01:25:47 2004 +0100
     1.2 +++ b/classfile.py	Tue Nov 09 18:45:57 2004 +0100
     1.3 @@ -36,7 +36,7 @@
     1.4      def get_python_name(self):
     1.5          name = self.get_name()
     1.6          if str(name) == "<init>":
     1.7 -            return "__init__"
     1.8 +            return "__java_init__"
     1.9          else:
    1.10              return name
    1.11