In the textbook I'm studying (Convex Analysis ... by Bauschke and Combettes), liminf is defined below:
for $f:\mathcal{X} \rightarrow [-\infty, \infty], x\in \mathcal{X}$, define:
$\underset{y\rightarrow x}{\underline{\text{lim}}}f(y)=\underset{V\in\mathcal{V}(x)}{\text{sup}}\text{inf}\text{ }f(V)$, where:
$\mathcal{V}(x)$ is the set of all neighborhoods around $x$.
In wiki and most other sources I checked, the definition uses "deleted neighborhoods" $\mathcal{V}(x)\backslash\{x\}$ instead. And this would make a difference if we consider the function $f$ defined by: $f(x) = 2, \text{ }\forall x\ne 0$, and $f(0) = 1$.
According to the answer in this post, there are two definitions of limsup/liminf, one using deleted neighborhoods, the other using undeleted ones. But I wonder if there is any benefit of using the latter version?