I have a question about canonical sheaf :
Let $X$ be a non-singular variety over a field $K$, and $Y$ a subvariety nonsingular of codimension $r$. So we have : $$ \omega_{Y} \simeq \omega_X \otimes \bigwedge^r \mathcal{N}_{Y/X} $$ where $\mathcal{N}_{Y/X}$ is the normal sheaf od $Y$ in $X$. My question is about the case where $Y=D$ is a cartier divisor. I denote $L = \mathcal{O}_X (D)$.
So , Hartshone say that, in that case : $$ \omega_D \simeq \omega_X \otimes L \otimes \mathcal{O}_D$$ My question may be stupid, but what is $\mathcal{O}_D$ here ? I have never seen this notation and it is not in the books that I have read.
Thanks !