Merge pull request #457 from decanus/patch-3

Fix `split` return value type-hint
This commit is contained in:
Danny Ryan
2019-01-16 21:35:46 -06:00
committed by GitHub

View File

@@ -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.
"""