Section 47. If a vacancy occurs or is declared in the list of nominations, by reason of death or ineligibility, the name of the candidate nominated to fill such vacancy shall, if the ballots have not been printed, be placed on them or, if the ballots have been printed, ballots containing the new nomination shall, when practicable, be substituted.