If $\gamma$ is a path from $-i$ to $i$, whose image is contained in $\mathbb C\setminus\mathbb R^-$, find $\int_{\gamma}\frac{dz}z$
Does the integral converge ?, because the path $-i+2it, 0\le t\le1$ is also in $\mathbb C\setminus\mathbb R^-$ and for $t=1/2$ it is $0$
or can I use the fact that $f(z):=\frac1z$ is meromorphic with simple pole at $0$ and define
$\alpha_{\rho}(t):=0+\rho e^{it}, t\in[0,\pi]$ and then $\displaystyle\int_{\alpha_{\rho}}f(z)dz=\text{res}_0(f)\cdot \pi i$
with $\text{res}_0(f)=a_{-1}$ where $a_{-1}$ is the Laurent coefficient of $f$
Is the result $1$ ?