Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 5da7503

Browse files
committed
Resolve GH-69
Co-authored-by: [email protected]
1 parent 91d5b73 commit 5da7503

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/calc/func.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
44
"""
55

6-
from typing import List, Union
6+
from typing import List
77

88

9-
def get_square(number: Union[int, float]) -> Union[int, float]:
9+
def get_square(number: int) -> int:
1010
"""
1111
Calculate the square value of a given number
1212
1313
:param number: The input number for which the square value is calculated.
14-
:type number: int | float
14+
:type number: int
1515
1616
:return: the square value of the input number
17-
:rtype: int | float
17+
:rtype: int
1818
1919
"""
2020

0 commit comments

Comments
 (0)