Skip to content

Commit b650c78

Browse files
committed
fix(DRAFT): try removing CompliantSelectorNamespace.__init__
Aiming to indirectly fix #2064 (comment)
1 parent cc00fdc commit b650c78

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

narwhals/_selectors.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
from narwhals.typing import TimeUnit
3939
from narwhals.utils import Implementation
4040
from narwhals.utils import Version
41-
from narwhals.utils import _FullContext
4241

4342

4443
SeriesT = TypeVar("SeriesT", bound="CompliantSeries")
@@ -158,14 +157,6 @@ def names(df: FrameT) -> Sequence[str]:
158157

159158
return self._selector(series, names)
160159

161-
# NOTE: Can't reuse for `<3.11`
162-
# - https://github.com/python/cpython/issues/88970
163-
# - https://github.com/python/cpython/pull/31628
164-
def __init__(self: Self, context: _FullContext, /) -> None: # pragma: no cover
165-
self._implementation = context._implementation
166-
self._backend_version = context._backend_version
167-
self._version = context._version
168-
169160

170161
class LazySelectorNamespace(
171162
CompliantSelectorNamespace[FrameT, SeriesT], Generic[FrameT, SeriesT], Protocol

0 commit comments

Comments
 (0)