8000 [doc] Minor improvements to is_typeddict (GH-22280) · python/cpython@83f6dcd · GitHub
[go: up one dir, main page]

Skip to content

Commit 83f6dcd

Browse files
[doc] Minor improvements to is_typeddict (GH-22280)
1. The check is on the type 2. Add link to TypeDict
1 parent 3064dbf commit 83f6dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/typing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,7 @@ Introspection helpers
16601660

16611661
.. function:: is_typeddict(tp)
16621662

1663-
Check if an annotation is a TypedDict class.
1663+
Check if a type is a :class:`TypedDict`.
16641664

16651665
For example::
16661666
class Film(TypedDict):

0 commit comments

Comments
 (0)
0