Let $f : \mathbb{C} \to \mathbb{C}$ be a continuous function holomorphic on $\mathbb{C} \setminus \mathbb{R}$. Show that $f$ is entire.
This question has been answered here, but I would like to clarify on the solution provided by Pp.. I understand that it reduces to the case where we examine triangles with an edge on the line (say $\Delta$). According to Pp..'s solution, he breaks the triangle down to smaller and smaller triangles. He claimed that, since each of the smaller triangles that intersect the line can get infinitely small, the path integral over each of this smaller triangle gets infinitely small. I agree with this, as we have the following: $$ \int_\phi f(z) \; \mathrm{d}z \leq \text{Length}(\phi) \cdot \sup_{x \in \phi^*}|f(z)| $$ where $\phi^*$ is the set of points which $\phi$ runs across.
However, while the path integral over each of the smaller triangles gets arbitrarily small, the number of such smaller triangles also gets arbitrary many. My question is, how can we ensure that the overall path integral (i.e. path integral over the original triangle $\Delta$) gets arbitrarily small as well?
Any help is appreciated.