Skip to content

Commit fbea6a6

Browse files
simonjayhawkinsTomAugspurger
authored andcommitted
pandas\io\pytables.py:1462: error: Implicit generic "Any". Use "typing.List" and specify generic parameters
1 parent be30edc commit fbea6a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/pytables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ def copy(
14591459
data = self.select(k)
14601460
if isinstance(s, Table):
14611461

1462-
index: Union[bool, list] = False
1462+
index: Union[bool, List[str]] = False
14631463
if propindexes:
14641464
index = [a.name for a in s.axes if a.is_indexed]
14651465
new_store.append(

0 commit comments

Comments
 (0)