We know that if $f$ is holomorphic in an open set $A$ and continous in its closure, and $C$ is a closed curve inside $A$ then :
$f(z_0)2i\pi = \int_{C} \frac{f(z)}{z- z_0} dz $
Now suppose that $C$ its not closed, that is, the central angle of C is not $2\pi$. Lets call the central angle of the arc $\theta$
Can we say that $f(z_0)\theta i\pi = \int_{C} \frac{f(z)}{z- z_0} dz $ ?
Edit. I will add some context to que question :
I am trying to prove that if $z_0$ is a simple pole of $f$ And if $C$ is an arc of radius $r$ and angle $\theta$ around $z_0$, then :
$Res(f, z_0) = \lim_{r\to 0^+}\frac{1}{i\theta}\int_{C} f(z) dz $