original_docstring: Remove exessive spacing.
  
      Remove all excessive spacing from the beginning, end and within a text string.
  
      Args:
          text: A string with excessive spaces.
  
      Returns:
          A string with fewer spaces.
      
docstring: Remove exessive spacing.
  Remove all excessive spacing from the beginning, end and within a text string.
docstring_tokens: Remove exessive spacing . Remove all excessive spacing from the beginning end and within a text string .
code: def remove_excessive_space(text):
      """Remove exessive spacing.
  
      Remove all excessive spacing from the beginning, end and within a text string.
  
      Args:
          text: A string with excessive spaces.
  
      Returns:
          A string with fewer spaces.
      """
      return re.sub('\s+', ' ', text).strip()
code_tokens: def remove_excessive_space ( text ) : return re . sub ( '\s+' , ' ' , text ) . strip ( )
short_docstring: Remove exessive spacing.
short_docstring_tokens: Remove exessive spacing .
comment: """Remove exessive spacing.
  
      Remove all excessive spacing from the beginning, end and within a text string.
  
      Args:
          text: A string with excessive spaces.
  
      Returns:
          A string with fewer spaces.
      """