Skip to content

Commit 63633e7

Browse files
authored
Add missing return type hint to tile() (data-apis#798)
* Add missing return type hint to tile() * Add tile type signature fix to the draft version
1 parent 65d3102 commit 63633e7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/array_api_stubs/_2023_12/manipulation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def stack(arrays: Union[Tuple[array, ...], List[array]], /, *, axis: int = 0) ->
316316
"""
317317

318318

319-
def tile(x: array, repetitions: Tuple[int, ...], /):
319+
def tile(x: array, repetitions: Tuple[int, ...], /) -> array:
320320
"""
321321
Constructs an array by tiling an input array.
322322

src/array_api_stubs/_draft/manipulation_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def stack(arrays: Union[Tuple[array, ...], List[array]], /, *, axis: int = 0) ->
316316
"""
317317

318318

319-
def tile(x: array, repetitions: Tuple[int, ...], /):
319+
def tile(x: array, repetitions: Tuple[int, ...], /) -> array:
320320
"""
321321
Constructs an array by tiling an input array.
322322

0 commit comments

Comments
 (0)