Skip to content

Commit 66b9095

Browse files
committed
TYP: use Shape alias in core/internals/concat.py
1 parent 1380df8 commit 66b9095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/internals/concat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import numpy as np
66

77
from pandas._libs import NaT, internals as libinternals
8-
from pandas._typing import DtypeObj
8+
from pandas._typing import DtypeObj, Shape
99
from pandas.util._decorators import cache_readonly
1010

1111
from pandas.core.dtypes.cast import maybe_promote
@@ -175,7 +175,7 @@ def _get_mgr_concatenation_plan(mgr, indexers):
175175

176176

177177
class JoinUnit:
178-
def __init__(self, block, shape, indexers=None):
178+
def __init__(self, block, shape: Shape, indexers=None):
179179
# Passing shape explicitly is required for cases when block is None.
180180
if indexers is None:
181181
indexers = {}

0 commit comments

Comments
 (0)