@@ -1640,11 +1640,11 @@ def all():
16401640from _typeshed import Incomplete
16411641from collections.abc import Generator
16421642
1643- def f() -> Generator[Incomplete, None, None ]: ...
1644- def g() -> Generator[None, Incomplete, None ]: ...
1645- def h1() -> Generator[None, None, None ]: ...
1643+ def f() -> Generator[Incomplete]: ...
1644+ def g() -> Generator[None, Incomplete]: ...
1645+ def h1() -> Generator[None]: ...
16461646def h2() -> Generator[None, None, Incomplete]: ...
1647- def h3() -> Generator[None, None, None ]: ...
1647+ def h3() -> Generator[None]: ...
16481648def all() -> Generator[Incomplete, Incomplete, Incomplete]: ...
16491649
16501650[case testFunctionYieldsNone]
@@ -1656,8 +1656,8 @@ def g():
16561656[out]
16571657from collections.abc import Generator
16581658
1659- def f() -> Generator[None, None, None ]: ...
1660- def g() -> Generator[None, None, None ]: ...
1659+ def f() -> Generator[None]: ...
1660+ def g() -> Generator[None]: ...
16611661
16621662[case testGeneratorAlreadyDefined]
16631663class Generator:
@@ -1671,7 +1671,7 @@ from collections.abc import Generator as _Generator
16711671
16721672class Generator: ...
16731673
1674- def f() -> _Generator[Incomplete, None, None ]: ...
1674+ def f() -> _Generator[Incomplete]: ...
16751675
16761676[case testGeneratorYieldFrom]
16771677def g1():
@@ -1692,10 +1692,10 @@ def g5():
16921692from _typeshed import Incomplete
16931693from collections.abc import Generator
16941694
1695- def g1() -> Generator[Incomplete, Incomplete, None ]: ...
1696- def g2() -> Generator[Incomplete, Incomplete, None ]: ...
1697- def g3() -> Generator[Incomplete, Incomplete, None ]: ...
1698- def g4() -> Generator[Incomplete, Incomplete, None ]: ...
1695+ def g1() -> Generator[Incomplete, Incomplete]: ...
1696+ def g2() -> Generator[Incomplete, Incomplete]: ...
1697+ def g3() -> Generator[Incomplete, Incomplete]: ...
1698+ def g4() -> Generator[Incomplete, Incomplete]: ...
16991699def g5() -> Generator[Incomplete, Incomplete, Incomplete]: ...
17001700
17011701[case testGeneratorYieldAndYieldFrom]
@@ -1728,13 +1728,13 @@ def g7():
17281728from _typeshed import Incomplete
17291729from collections.abc import Generator
17301730
1731- def g1() -> Generator[Incomplete, Incomplete, None ]: ...
1732- def g2() -> Generator[Incomplete, Incomplete, None ]: ...
1733- def g3() -> Generator[Incomplete, Incomplete, None ]: ...
1734- def g4() -> Generator[Incomplete, Incomplete, None ]: ...
1735- def g5() -> Generator[Incomplete, Incomplete, None ]: ...
1731+ def g1() -> Generator[Incomplete, Incomplete]: ...
1732+ def g2() -> Generator[Incomplete, Incomplete]: ...
1733+ def g3() -> Generator[Incomplete, Incomplete]: ...
1734+ def g4() -> Generator[Incomplete, Incomplete]: ...
1735+ def g5() -> Generator[Incomplete, Incomplete]: ...
17361736def g6() -> Generator[Incomplete, Incomplete, Incomplete]: ...
1737- def g7() -> Generator[Incomplete, Incomplete, None ]: ...
1737+ def g7() -> Generator[Incomplete, Incomplete]: ...
17381738
17391739[case testCallable]
17401740from typing import Callable
0 commit comments