Let $\hat{\mathbb{C}}$ denote the Riemann sphere. Let $f:B_1(0) \to \hat{\mathbb{C}}$ be continuous. If $f$ is continuous at $z$ and non-zero, then $1/f(z)$ is continuous at $z$ as well. My question is whether or not, when we define $1/f(z)=\infty$ for $f(z)=0$, we get continuity at $z$? What can be said for holomorphicity (that is, assume that $f$ is holomorphic and repeat my question).
My intuition for continuity is that $1/f(z)$ is not continuous. However, if $z_n \to z$, by the continuity of $f$, we get $\lim_{n \to \infty}\ f(z_n)=f(z)=0$, and so $\lim_{n \to \infty} 1/f(z_n)=\infty=1/f(z)$. This signals to me that $1/f(z)$ is therefore continuous. However, the $\epsilon$-$\delta$ argument will clearly fail, so $1/f(z)$ is not continuous? How are we supposed to treat continuity in this case? Similarly, what can be said for holomorphicity?