This law and the law to which it is amendatory shall be public acts, and shall apply only to the city of St. Louis; and this law shall take effect from its passage.