diff options
author | Andre Delfino <adelfino@gmail.com> | 2020-09-16 15:06:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-16 15:06:23 (GMT) |
commit | 83f6dcd2070a5dbd9702b32ec4ee150bb716c9a1 (patch) | |
tree | 12fe2ae9c7682d9b5e8fa668549ac92cd17370ac /Doc/library/typing.rst | |
parent | 3064dbf5df1021e85b507366a7ea448c8895efe7 (diff) | |
download | cpython-83f6dcd2070a5dbd9702b32ec4ee150bb716c9a1.zip cpython-83f6dcd2070a5dbd9702b32ec4ee150bb716c9a1.tar.gz cpython-83f6dcd2070a5dbd9702b32ec4ee150bb716c9a1.tar.bz2 |
[doc] Minor improvements to is_typeddict (GH-22280)
1. The check is on the type
2. Add link to TypeDict
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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): |