Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cd01ec commit bd71a43Copy full SHA for bd71a43
1 file changed
Doc/library/typing.rst
@@ -1666,12 +1666,13 @@ Introspection helpers
1666
Check if a type is a :class:`TypedDict`.
1667
1668
For example::
1669
- class Film(TypedDict):
1670
- title: str
1671
- year: int
1672
1673
- is_typeddict(Film) # => True
1674
- is_typeddict(Union[list, str]) # => False
+ class Film(TypedDict):
+ title: str
+ year: int
+
+ is_typeddict(Film) # => True
1675
+ is_typeddict(Union[list, str]) # => False
1676
1677
.. versionadded:: 3.10
1678
0 commit comments