mirror of https://github.com/python/cpython.git
[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:
parent
3064dbf5df
commit
83f6dcd207
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue