We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7347e2 commit 00bfa46Copy full SHA for 00bfa46
custom_stubgen.py
@@ -5,7 +5,7 @@
5
6
7
def add_union(alternative_type: str):
8
- def inner(match: re.Match, _alternative_type=alternative_type):
+ def inner(match, _alternative_type=alternative_type):
9
return "typing.Union[{}, {}]".format(match.group(0), _alternative_type)
10
11
return inner
0 commit comments