My book defines disconnectedness in the following way: "If $M$ has a proper clopen subset $A,$ then $M$ is disconnected. Otherwise, $M$ is connected."
The book gives the following example. "The punctured interval $X = [a,b] \setminus \{c\}$ is disconnected, for $X = [a,c) \sqcup (c,b]$ is a separation of $X.$" I see that $[a,c),(c,b] \subset X,$ but is it not the case that $[a,c)$ and $(c,b]$ are not clopen (indeed, they are neither closed nor open)?
Maybe he is considering a space that is not $\mathbb{R}?$ The author goes on to say: "The closures of the two sets with respect to the metric space $X$ do not intersect, even though their colsures with respect to $\mathbb{R}$ do intersect."
Moreover, he follows that sentence with "Pay attention to this phenomenon, which is related to the Inheritance principle." What does he mean? How is it related to the inheritance principle?