[doc] Minor improvements to is_typeddict (GH-22280)

1. The check is on the type
2. Add link to TypeDict
This commit is contained in:
Andre Delfino 2020-09-16 12:06:23 -03:00 committed by GitHub
parent 3064dbf5df
commit 83f6dcd207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1660,7 +1660,7 @@ Introspection helpers
.. function:: is_typeddict(tp)
Check if an annotation is a TypedDict class.
Check if a type is a :class:`TypedDict`.
For example::
class Film(TypedDict):