saneman wrote:
> I have made this string:
>
>
> TITLE          = 'Efficiency of set operations: sort model,
>                (cphstl::set::insert(p,e)^n cphstl::set::insert(e)), integer'
>
> But I am not allowed to break the line like that:
>
> IndentationError: unexpected indent
>
> How do I break a line?
>   

by triple quoting:

TITLE = '''Efficiency of set operations: sort model,
          (cphstl::set::insert(p,e)^n cphstl::set::insert(e)), integer'''


or


TITLE = """Efficiency of set operations: sort model,
          (cphstl::set::insert(p,e)^n cphstl::set::insert(e)), integer"""


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to