def _clean_name ( self , prefix , obj ) : return '{}{}_{}' . format ( prefix , self . _uid ( ) , '' . join ( c for c in obj . name if c . isalnum ( ) ) )
remove prefix from object name in python
Create a C variable name with the given prefix based on the name of obj .
def _clean_name(self, prefix, obj):
        """Create a C variable name with the given prefix based on the name of obj."""
        return '{}{}_{}'.format(prefix, self._uid(), ''.join(c for c in obj.name if c.isalnum()))