diff --git a/mypy/stubgenc.py b/mypy/stubgenc.py index 1cd709b9d603..44ff39ad79b9 100755 --- a/mypy/stubgenc.py +++ b/mypy/stubgenc.py @@ -254,10 +254,18 @@ def __init__( "List", "Literal", "NamedTuple", + "Never", + "NoReturn", + "Set", "Optional", "Tuple", + "Type", + "TypeIs", + "TypeGuard", "Union", - ] + ], + "os": ["PathLike"], + "pathlib": ["Path"], } )