Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions docs/source/command_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1211,8 +1211,8 @@ List of currently incomplete/experimental features:

.. code-block:: python

def test_values() -> {"int": int, "str": str}:
return {"int": 42, "str": "test"}
def test_values() -> {"width": int, "description": str}:
return {"width": 42, "description": "test"}


Miscellaneous
Expand Down
4 changes: 2 additions & 2 deletions docs/source/typed_dict.rst
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ to use inline TypedDict syntax. For example:

.. code-block:: python

def test_values() -> {"int": int, "str": str}:
return {"int": 42, "str": "test"}
def test_values() -> {"width": int, "description": str}:
return {"width": 42, "description": "test"}

class Response(TypedDict):
status: int
Expand Down