def __getstate__(self, dict=None):
        """Get state, adding a version number to it on its way out.
        """
        dct = copy.copy(dict or self.__dict__)
        bases = _aybabtu(self.__class__)
        bases.reverse()
        bases.append(self.__class__) # don't forget me!!
        for base in bases:
            if base.__dict__.has_key('persistenceForgets'):
                for slot in base.persistenceForgets:
                    if dct.has_key(slot):
                        del dct[slot]
            if base.__dict__.has_key('persistenceVersion'):
                dct[reflect.qual(base) % '%s.persistenceVersion'] = base.persistenceVersion
        return dct
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/persisted/styles.py/Versioned.__getstate__/swapped operands of `%`