From: Andre Delfino Date: Wed, 16 Sep 2020 15:06:23 +0000 (-0300) Subject: [doc] Minor improvements to is_typeddict (GH-22280) X-Git-Tag: v3.10.0a1~106 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83f6dcd2070a5dbd9702b32ec4ee150bb716c9a1;p=thirdparty%2FPython%2Fcpython.git [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 bfff81e26760..d31c65d38e1a 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):