parameters: (self)
return_statement: return ", ".join(top).replace(", and ", " and ")
docstring: Returns a nicely formatted string listing the people who acted in this notifcation set
          Likes are not included in this list (so that like only notifcations can generate a different email subject)
          Returns None if all actions are likes.
docstring_summary: Returns a nicely formatted string listing the people who acted in this notifcation set
          Likes are not included in this list (so that like only notifcations can generate a different email subject)
          Returns None if all actions are likes.
docstring_tokens: Returns a nicely formatted string listing the people who acted in this notifcation set Likes are not included in this list ( so that like only notifcations can generate a different email subject ) Returns None if all actions are likes .
function: def actors_string(self):
          """
          Returns a nicely formatted string listing the people who acted in this notifcation set
          Likes are not included in this list (so that like only notifcations can generate a different email subject)
          Returns None if all actions are likes.
          """
          actors = [user_profile.user_name(id) for id in self.actors_list()]
          top, more = actors[:3], actors[3:]
          if len(more) == 1:
              top[2] = "2 others"
          elif len(more) > 1:
              top.append("%d others" % len(more))
          if len(top) > 1:
              top[-1] = "and " + top[-1]
          return ", ".join(top).replace(", and ", " and ")
function_tokens: def actors_string ( self ) : actors = [ user_profile . user_name ( id ) for id in self . actors_list ( ) ] top , more = actors [ : 3 ] , actors [ 3 : ] if len ( more ) == 1 : top [ 2 ] = "2 others" elif len ( more ) > 1 : top . append ( "%d others" % len ( more ) ) if len ( top ) > 1 : top [ - 1 ] = "and " + top [ - 1 ] return ", " . join ( top ) . replace ( ", and " , " and " )