Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix
  • Loading branch information
97littleleaf11 committed Feb 13, 2022
commit b9badea8616805fdc8527f3e6fb2e29ea87ecb64
2 changes: 1 addition & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ These are not used in annotations. They are building blocks for declaring types.
``Point2D.__optional_keys__``.
To allow using this feature with older versions of Python that do not
support :pep:`526`, ``TypedDict`` can be created using a functional form:
Comment thread
97littleleaf11 marked this conversation as resolved.
Outdated

* Using a literal :class:`dict` as the second argument::

Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})
Expand Down