Merge pull request #457 from decanus/patch-3
Fix `split` return value type-hint
This commit is contained in:
commit
51ba0c4008
|
@ -850,7 +850,7 @@ def shuffle(values: List[Any], seed: Hash32) -> List[Any]:
|
|||
#### `split`
|
||||
|
||||
```python
|
||||
def split(values: List[Any], split_count: int) -> List[Any]:
|
||||
def split(values: List[Any], split_count: int) -> List[List[Any]]:
|
||||
"""
|
||||
Splits ``values`` into ``split_count`` pieces.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue