File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1211,8 +1211,8 @@ List of currently incomplete/experimental features:
12111211
12121212 .. code-block :: python
12131213
1214- def test_values () -> {" int " : int , " str " : str }:
1215- return {" int " : 42 , " str " : " test" }
1214+ def test_values () -> {" width " : int , " description " : str }:
1215+ return {" width " : 42 , " description " : " test" }
12161216
12171217
12181218 Miscellaneous
Original file line number Diff line number Diff line change @@ -303,8 +303,8 @@ to use inline TypedDict syntax. For example:
303303
304304.. code-block :: python
305305
306- def test_values () -> {" int " : int , " str " : str }:
307- return {" int " : 42 , " str " : " test" }
306+ def test_values () -> {" width " : int , " description " : str }:
307+ return {" width " : 42 , " description " : " test" }
308308
309309 class Response (TypedDict ):
310310 status: int
You can’t perform that action at this time.
0 commit comments