1429
1458
def string2lines(astring, tab_width=8, convert_whitespace=0,
1430
1459
whitespace=re.compile('[\v\f]')):
1434
1464
Each tab is expanded with between 1 and `tab_width` spaces, so that the
1435
1465
next character's index becomes a multiple of `tab_width` (8 by default).