sugarsdk/linting/pep287.py
def _cleanup_spaces(self, data):
        """
        Remove double- or more spaces into one.

        :param data:
        :return:
        """
        return re.sub(r"\s+", " ", data)

        Remove double- or more spaces into one.

        :param data:
        :return:
        
Remove double- or more spaces into one.
Remove double - or more spaces into one .
def _cleanup_spaces(self, data):
        return re.sub(r"\s+", " ", data)
def _cleanup_spaces ( self , data ) : return re . sub ( r"\s+" , " " , data )
Remove double- or more spaces into one.
Remove double - or more spaces into one .
"""
        Remove double- or more spaces into one.

        :param data:
        :return:
        """
None
self
data
None