Skip to content

Commit acd8cbf

Browse files
committed
revert (7201454)
1 parent b650c78 commit acd8cbf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

narwhals/_pandas_like/selectors.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
from __future__ import annotations
22

3-
import sys
43
from functools import partial
54
from typing import TYPE_CHECKING
6-
from typing import Any
75
from typing import Iterator
86

97
from narwhals._pandas_like.dataframe import PandasLikeDataFrame
@@ -65,11 +63,6 @@ def __init__(self: Self, context: _FullContext, /) -> None:
6563
class PandasSelector( # type: ignore[misc]
6664
CompliantSelector["PandasLikeDataFrame", "PandasLikeSeries"], PandasLikeExpr
6765
):
68-
if sys.version_info < (3, 9):
69-
70-
def __init__(self, *args: Any, **kwds: Any) -> None:
71-
super(PandasLikeExpr, self).__init__(*args, **kwds)
72-
7366
def _to_expr(self: Self) -> PandasLikeExpr:
7467
return PandasLikeExpr(
7568
self._call, # AttributeError: 'PandasSelector' object has no attribute '_call'

0 commit comments

Comments
 (0)