def _clean_inheritance_tokens(self):

        c = self._copy()
        x = c._data
        x.pop('self', None)
        x.pop('parent', None)
        x.pop('next', None)
        return c
create a new copy of this :class:`.Context`. with
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Mako-0.8.1/mako/runtime.py/Context._clean_inheritance_tokens