After the petition has been filed, as herein provided, the elections official shall examine the petition in the same manner as are county petitions in accordance with Sections 9114 and 9115, except that for the purposes of this section, references to the board of supervisors shall be treated as references to the legislative body of the city.