Let X be a closed immersion of dimension n in P = *P*$^N_k$, where k is an algebraically closed field. Let $\omega_P$ denote the canonical bundle and A the local ring $\mathcal O_{P,x}$.
Then Hartshorne argues on p. 244 that the condition $$\mathcal {Ext}^i_P(\mathcal O_X, \omega_P) = 0 $$ for i>N-n implies that $$Ext^i_A(\mathcal O_{X,x}, A) = 0 $$
Why? I can see how he got from $\mathcal Ext$ to $Ext$. The former is the derived functor of the sheaf $\mathcal {Hom}$, while the latter is the derived functor of just Hom. Obviously, if $\mathcal Ext$ is zero so is any localization of Ext. But how does one get from $\omega_P$ to A?