Skip to content

Commit 350fd38

Browse files
update documentation so it's clear that an int field doesn't need to be called int
1 parent 8c61a64 commit 350fd38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/command_line.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,8 +1093,8 @@ Experimental features
10931093

10941094
.. code-block:: python
10951095
1096-
def test_values() -> {"int": int, "str": str}:
1097-
return {"int": 42, "str": "test"}
1096+
def test_values() -> {"foo": int, "bar": str}:
1097+
return {"foo": 42, "bar": "test"}
10981098
10991099
.. option:: --find-occurrences CLASS.MEMBER
11001100

0 commit comments

Comments
 (0)