parameters: (lst, limit=7)
return_statement: return ', '.join(["'%s'"%str(i) for i in lst])
docstring: Print at most `limit` elements of list.
docstring_summary: Print at most `limit` elements of list.
docstring_tokens: Print at most limit elements of list .
function: def _brief_print_list(lst, limit=7):
      """Print at most `limit` elements of list."""
      lst = list(lst)
      if len(lst) > limit:
          return _brief_print_list(lst[:limit//2], limit) + ', ..., ' + \
              _brief_print_list(lst[-limit//2:], limit)
      return ', '.join(["'%s'"%str(i) for i in lst])
function_tokens: def _brief_print_list ( lst , limit = 7 ) : lst = list ( lst ) if len ( lst ) > limit : return _brief_print_list ( lst [ : limit // 2 ] , limit ) + ', ..., ' + _brief_print_list ( lst [ - limit // 2 : ] , limit ) return ', ' . join ( [ "'%s'" % str ( i ) for i in lst ] )