Skip to content

Commit 8cbf8c0

Browse files
committed
range typehint
1 parent 3f1a003 commit 8cbf8c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datapath/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __repr__(self) -> str:
1818

1919

2020
Key = NewType('Key', int|str)
21-
SplitPath = NewType('SplitPath', tuple[Key|_IterationPoint, ...])
21+
SplitPath = NewType('SplitPath', tuple[Key|_IterationPoint|range, ...])
2222
Map = NewType('Map', dict[str, Any])
2323
Collection = NewType('Collection', list|Map)
2424
CollectionKey = NewType('CollectionKey', tuple[list, int]|tuple[Map, str])

0 commit comments

Comments
 (0)