Skip to content

Commit 1fc81b2

Browse files
Update stubgenc.py
1 parent ec4ccb0 commit 1fc81b2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

mypy/stubgenc.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,18 @@ def __init__(
254254
"List",
255255
"Literal",
256256
"NamedTuple",
257+
"Never",
258+
"NoReturn",
259+
"Set",
257260
"Optional",
258261
"Tuple",
262+
"Type",
263+
"TypeIs",
264+
"TypeGuard",
259265
"Union",
260-
]
266+
],
267+
"os" [:"PathLike"],
268+
"pathlib": ["Path"]
261269
}
262270
)
263271

0 commit comments

Comments
 (0)