Skip to content

Commit 4500ef6

Browse files
committed
TYP: use Shape alias in core/io/pytables.py
1 parent bba7353 commit 4500ef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/pytables.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
from pandas._libs import lib, writers as libwriters
3030
from pandas._libs.tslibs import timezones
31-
from pandas._typing import ArrayLike, FrameOrSeries, FrameOrSeriesUnion, Label
31+
from pandas._typing import ArrayLike, FrameOrSeries, FrameOrSeriesUnion, Label, Shape
3232
from pandas.compat._optional import import_optional_dependency
3333
from pandas.compat.pickle_compat import patch_pickle
3434
from pandas.errors import PerformanceWarning
@@ -3087,7 +3087,7 @@ class BlockManagerFixed(GenericFixed):
30873087
nblocks: int
30883088

30893089
@property
3090-
def shape(self):
3090+
def shape(self) -> Optional[Shape]:
30913091
try:
30923092
ndim = self.ndim
30933093

0 commit comments

Comments
 (0)