Skip to content

Commit 951bacf

Browse files
authored
Add type ignore comment to intern function overload
1 parent 1323507 commit 951bacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/sys/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ if sys.platform == "win32":
425425
@overload
426426
def intern(string: LiteralString, /) -> LiteralString: ...
427427
@overload
428-
def intern(string: str, /) -> str: ...
428+
def intern(string: str, /) -> str: ... # type: ignore[misc]
429429

430430
__interactivehook__: Callable[[], object]
431431

0 commit comments

Comments
 (0)