I read from Liu's "Algebraic Geometry and Arithmetic Curves the following definition:
A ringed topological space consists of a topological space $X$ endowed with a sheaf of rings $\mathcal{O}_X$ on $X$ such that $\mathcal{O}_{X,x}$ is a local ring for every $x\in X$. How do we define $\mathcal{O}_{X,x}$ as I was unable to find it from the book?
There are two ways to define the stalk ${\cal O}_{X,x}$: