def __repr__(self):
        value = super(newint, self).__repr__()
        assert value[-1] == 'L'
        return value[:-1]
Without the L suffix
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/types/newint.py/newint.__repr__