Skip to content

Commit f2a036e

Browse files
committed
fix typo in importlib.metadata
1 parent ded0b0d commit f2a036e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/accessor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from pandas import Index
2828
from pandas.core.generic import NDFrame
2929

30-
from importlib_metadata import entry_points
30+
from importlib.metadata import entry_points
3131

3232

3333
class DirNamesMixin:
@@ -412,7 +412,7 @@ def load(cls) -> None:
412412
for ep in eps:
413413
name: str = ep.name
414414

415-
def make_property(ep) -> Callable[[DataFrame], Any]:
415+
def make_property(ep):
416416
def accessor(self) -> Any:
417417
cls_ = ep.load()
418418
return cls_(self)

0 commit comments

Comments
 (0)