File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,9 @@ def up_layer(self, leaves: List[bytes]) -> List[bytes]:
167
167
return new_layer
168
168
169
169
@property
170
- def human_leaves (self ) -> list [str ]:
170
+ def human_leaves (self ) -> List [str ]:
171
171
return [leaf .hex () for leaf in self .leaves ]
172
172
173
173
@property
174
- def human_short_leaves (self ) -> list [str ]:
174
+ def human_short_leaves (self ) -> List [str ]:
175
175
return [leaf .hex () for leaf in self .short_leaves ]
Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ def keccak(data: bytes) -> bytes:
52
52
53
53
def half (list_item : List [int ]) -> Tuple [int , int ]:
54
54
"""
55
- # Slice a `x: list [int]` in a pairs
56
- - params `x: list [int]`
57
- - return `list: list[list [int]]
55
+ # Slice a `x: List [int]` in a pairs
56
+ - params `x: List [int]`
57
+ - return `list: List[List [int]]
58
58
59
59
```python
60
60
>>> slicer([1,2,3,4])
@@ -72,9 +72,9 @@ def half(list_item: List[int]) -> Tuple[int, int]:
72
72
73
73
def slice_in_pairs (list_item : list ):
74
74
"""
75
- # Slice a `x: list [int]` in pairs, pairs is sublist of 2 items
76
- - params `x: list [int]`
77
- - return `list: list[list [int]]
75
+ # Slice a `x: List [int]` in pairs, pairs is sublist of 2 items
76
+ - params `x: List [int]`
77
+ - return `list: List[List [int]]
78
78
79
79
```python
80
80
>>> slicer([1,2,3,4])
You can’t perform that action at this time.
0 commit comments