Solution (source code)

= Solution

All poles lie outside some circle $|z|=R$ with $R>1$. The <rational function> is <holomorphic> in that disc, so its <Taylor series> at zero <converges uniformly> on $|z|\le1$. Its <polynomial> <partial sums> therefore approximate uniformly on $K$. If there are no finite poles, the function is already a <polynomial>.