If aparameter-dependent contour integralhas a moving pole, deforming the integration contour continuously so that the pole never crosses it preserves a holomorphic branch. Returning the contour to its original path after crossing apole adds or subtracts the corresponding residue contribution.