parameters: (extras)
return_statement: return ", ".join(repr(extra) for extra in extras), verb
docstring: Create an error message for extra items or properties.
docstring_summary: Create an error message for extra items or properties.
docstring_tokens: Create an error message for extra items or properties .
function: def extras_msg(extras):
      """
      Create an error message for extra items or properties.
  
      """
  
      if len(extras) == 1:
          verb = "was"
      else:
          verb = "were"
      return ", ".join(repr(extra) for extra in extras), verb
function_tokens: def extras_msg ( extras ) : if len ( extras ) == 1 : verb = "was" else : verb = "were" return ", " . join ( repr ( extra ) for extra in extras ) , verb