If $\pi :C\to C'$ is an affine $\mathscr O$-connected morphism,then by definition,pull back map $\mathscr O_{C'}(U)\to \mathscr O_C(\pi^{-1}(U))$ is an isomorphism for every affine $U$ of $C'$,since $\pi^{-1}(U)$ is affine,this means $\pi|_{\pi^{-1}(U)}$ is an isomorphism,so $\pi$ is and isomorphism,right?But it seems that we need some big machines to do this,like:
coming from vakil's FOAG,Page736.Here $\pi$ is finite,hence affine by definition.So what I miss?
