For purposes of this article, an action to abate a nuisance may be taken by the city attorney or city prosecutor of the city within which the nuisance exists, is kept, or is maintained. An action by a city attorney or city prosecutor shall be accorded the same precedence as an action maintained by the district attorney of the county.