From Baby Rudin page 98
This seems to be a mistake since we have seemingly absurd results like
$$ graph(f) = \{(0,0)\} \Rightarrow \lim_{x\to \infty} f(x)= 0 $$
We define the limit(for $x$ real) only for limit points of $E$ so my initial thinking is to enforce that every neighborhood of $x$ must have infinitely many points of $E$. This would imply that limits at infinity could only happen for unbound $E$ so the previous example would not be true. Is there a more standard way of defining such limits?
This has been discussed before at Definition of the Limit of a Function for the Extended Reals but I'm more interested in the infinite case and how to fix the definition.