original_docstring: 
      Add a CSS class to a string of CSS classes
      
docstring: Add a CSS class to a string of CSS classes
docstring_tokens: Add a CSS class to a string of CSS classes
code: def add_css_class(css_classes, css_class, prepend=False):
      """
      Add a CSS class to a string of CSS classes
      """
      classes_list = split_css_classes(css_classes)
      classes_to_add = [c for c in split_css_classes(css_class)
                        if c not in classes_list]
      if prepend:
          classes_list = classes_to_add + classes_list
      else:
          classes_list += classes_to_add
      return ' '.join(classes_list)
code_tokens: def add_css_class ( css_classes , css_class , prepend = False ) : classes_list = split_css_classes ( css_classes ) classes_to_add = [ c for c in split_css_classes ( css_class ) if c not in classes_list ] if prepend : classes_list = classes_to_add + classes_list else : classes_list += classes_to_add return ' ' . join ( classes_list )
short_docstring: Add a CSS class to a string of CSS classes
short_docstring_tokens: Add a CSS class to a string of CSS classes
comment: """
      Add a CSS class to a string of CSS classes
      """