summaryrefslogtreecommitdiffstats
path: root/Doc/library/typing.rst
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2020-09-16 15:06:23 (GMT)
committerGitHub <noreply@github.com>2020-09-16 15:06:23 (GMT)
commit83f6dcd2070a5dbd9702b32ec4ee150bb716c9a1 (patch)
tree12fe2ae9c7682d9b5e8fa668549ac92cd17370ac /Doc/library/typing.rst
parent3064dbf5df1021e85b507366a7ea448c8895efe7 (diff)
downloadcpython-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.rst2
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):