def double(self):
        return SampleNewStyleClass(self.val + self.val)
>>> print SampleNewStyleClass(12).double().get()
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_doctest.py/SampleNewStyleClass.double