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
commit 51ba0c4008
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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