parameters: (seq)
return_statement: return concat(buf)
docstring: Concatenation that escapes if necessary and converts to unicode.
docstring_summary: Concatenation that escapes if necessary and converts to unicode.
docstring_tokens: Concatenation that escapes if necessary and converts to unicode .
function: def markup_join(seq):
      """Concatenation that escapes if necessary and converts to unicode."""
      buf = []
      iterator = imap(soft_unicode, seq)
      for arg in iterator:
          buf.append(arg)
          if hasattr(arg, '__html__'):
              return Markup(u'').join(chain(buf, iterator))
      return concat(buf)
function_tokens: def markup_join ( seq ) : buf = [ ] iterator = imap ( soft_unicode , seq ) for arg in iterator : buf . append ( arg ) if hasattr ( arg , '__html__' ) : return Markup ( u'' ) . join ( chain ( buf , iterator ) ) return concat ( buf )