The specified hydrogen is attached to an sp-hybridized carbon and is thus more acidic than all the other hydrogens in the molecule. By using an appropriate strong base, such as NaH or NaNH2, the acetylenic hydrogen is selectively removed; adding D2O then replaces the lost hydrogen atom with a deuterium atom.