mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-19 14:04:25 +00:00
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`
|
#### `split`
|
||||||
|
|
||||||
```python
|
```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.
|
Splits ``values`` into ``split_count`` pieces.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user