Skip to content

Commit 5a90411

Browse files
author
hauntsaninja
committed
for x in $(rg '\bUnion\b' -c | grep stdlib | pyp 'x.split(":")[0] if x.endswith(":1") else None'); do fastmod -g $x --accept-all '(from typing import )Union, (.*)' '$1$2'; done
1 parent 67f8d44 commit 5a90411

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/@python2/winsound.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
from typing import Union, overload
2+
from typing import overload
33
from typing_extensions import Literal
44

55
if sys.platform == "win32":

stdlib/winsound.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
from typing import Union, overload
2+
from typing import overload
33
from typing_extensions import Literal
44

55
if sys.platform == "win32":

0 commit comments

Comments
 (0)