Skip to content

Commit 2f20dd6

Browse files
committed
Fix type hint of format parameter in typing.get_type_hints()
1 parent ce2b37d commit 2f20dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/typing.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ if sys.version_info >= (3, 14):
952952
localns: Mapping[str, Any] | None = None,
953953
include_extras: bool = False,
954954
*,
955-
format: Format | None = None,
955+
format: Format = Format.VALUE,
956956
) -> dict[str, Any]: ... # AnnotationForm
957957

958958
else:

0 commit comments

Comments
 (0)