File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1166,8 +1166,8 @@ TypedDict
1166
1166
1167
1167
.. note ::
1168
1168
1169
- TypedDict is not yet an officially supported feature. It may not work reliably,
1170
- and details of TypedDict may change in future mypy releases.
1169
+ TypedDict is an officially supported feature, but it is still experimental.
1170
+
1171
1171
1172
1172
Python programs often use dictionaries with string keys to represent objects.
1173
1173
Here is a typical example:
@@ -1307,7 +1307,9 @@ Class-based syntax
1307
1307
------------------
1308
1308
1309
1309
Python 3.6 supports an alternative, class-based syntax to define a
1310
- TypedDict:
1310
+ TypedDict. This means that your code must be checked as if it were
1311
+ Python 3.6 (using the ``--python-version `` flag on the command line,
1312
+ for example). Simply running mypy on Python 3.6 is insufficient.
1311
1313
1312
1314
.. code-block :: python
1313
1315
You can’t perform that action at this time.
0 commit comments