code: def slices(src_path):
    ''' Return slices as a flat list '''
    pages = list_slices(src_path)
    slices = []
    for page in pages:
      slices.extend(page.slices)
    return slicef slices(src_path):
    ''' Return slices as a flat list '''
    pages = list_slices(src_path)
    slices = []
    for page in pages:
      slices.extend(page.slices)
    return slices
docs: Return slices as a flat list