def iter_slices(string, slice_length):
pos = <NUM_LIT:0><EOL>while pos < len(string):<EOL><INDENT>yield string[pos:pos + slice_length]<EOL>pos += slice_length<EOL><DEDENT>
Iterate over slices of a string.