Just use the generator expression (genexp) instead of the list (listcomp) that you are using now - ie:
sList = (line for line in theString.split(os.linesep))
- ( os.linesep, - Python \n...), , do - ( ) (), .
, , for line in sList:, , ( - break), - , ?