File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1171,6 +1171,14 @@ Enabling incomplete/experimental features
11711171
11721172List of currently incomplete/experimental features:
11731173
1174+ * ``InlineTypedDict ``: this feature enables non-standard syntax for inline
1175+ :ref: `TypedDicts <typeddict >`, for example:
1176+
1177+ .. code-block :: python
1178+
1179+ def test_values () -> {" int" : int , " str" : str }:
1180+ return {" int" : 42 , " str" : " test" }
1181+
11741182 * ``PreciseTupleTypes ``: this feature will infer more precise tuple types in
11751183 various scenarios. Before variadic types were added to the Python type system
11761184 by :pep: `646 `, it was impossible to express a type like "a tuple with
@@ -1206,14 +1214,6 @@ List of currently incomplete/experimental features:
12061214 # Without PreciseTupleTypes: tuple[int, ...]
12071215 # With PreciseTupleTypes: tuple[()] | tuple[int] | tuple[int, int]
12081216
1209- * ``InlineTypedDict ``: this feature enables non-standard syntax for inline
1210- :ref: `TypedDicts <typeddict >`, for example:
1211-
1212- .. code-block :: python
1213-
1214- def test_values () -> {" int" : int , " str" : str }:
1215- return {" int" : 42 , " str" : " test" }
1216-
12171217
12181218 Miscellaneous
12191219*************
You can’t perform that action at this time.
0 commit comments