commit | 83f6dcd2070a5dbd9702b32ec4ee150bb716c9a1 | [log] [tgz] |
---|---|---|
author | Andre Delfino <adelfino@gmail.com> | Wed Sep 16 12:06:23 2020 -0300 |
committer | GitHub <noreply@github.com> | Wed Sep 16 08:06:23 2020 -0700 |
tree | 12fe2ae9c7682d9b5e8fa668549ac92cd17370ac | |
parent | 3064dbf5df1021e85b507366a7ea448c8895efe7 [diff] |
[doc] Minor improvements to is_typeddict (GH-22280) 1. The check is on the type 2. Add link to TypeDict
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index bfff81e..d31c65d 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst
@@ -1660,7 +1660,7 @@ .. 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):