Skip to content

Commit 26f7222

Browse files
committed
Correct the description of generic2, fixed #124
1 parent a5bec2c commit 26f7222

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

challenges/intermediate-generic2/question.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
TODO:
33
44
The function `add` accepts two arguments and returns a value, they all have the same type.
5-
The type can only be str or int (or their subclasses).
5+
The type can only be str or int.
66
"""
77

88

challenges/intermediate-generic2/solution.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
TODO:
33
44
The function `add` accepts two arguments and returns a value, they all have the same type.
5-
The type can only be str or int (or their subclasses).
5+
The type can only be str or int.
66
"""
77
# For Python < 3.12
88
# from typing import TypeVar

0 commit comments

Comments
 (0)