def remove_perm(self, perm, user, obj):
        if getattr(obj, 'pk', None) is None:
            raise Exception("Object %s needs to be persisted first" % obj)
        filters = {
            'permission__codename': perm,
            'permission__content_type': ContentType.objects.get_for_model(obj),
            'user': user,
        }
        filters['object_pk'] = obj.pk
        self.filter(**filters).delete()
Opportunity to draw stats on top of the active scene, called after tick.
dataset/ETHPy150Open divio/django-cms/cms/test_utils/project/objectpermissionsapp/models.py/UserObjectPermissionManager.remove_perm--crossover with--dataset/ETHPy150Open los-cocos/cocos/cocos/fps.py/FpsStatsABC.draw