def open(fname):
with _builtin_open(fname) as fh:<EOL><INDENT>region_string = fh.read()<EOL><DEDENT>return parse(region_string)<EOL>
Open, read and parse DS9 region file.

    Parameters
    ----------
    fname : str
        Filename

    Returns
    -------
    shapes : `ShapeList`
        List of `~pyregion.Shape`