Skip to content

Commit bed188f

Browse files
[docs] document --enable-incomplete-feature TypeForm, minimally but sufficiently (#20173)
1 parent 08dde9f commit bed188f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/command_line.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ format into the specified directory.
11591159
Enabling incomplete/experimental features
11601160
*****************************************
11611161

1162-
.. option:: --enable-incomplete-feature {PreciseTupleTypes,InlineTypedDict}
1162+
.. option:: --enable-incomplete-feature {PreciseTupleTypes,InlineTypedDict,TypeForm}
11631163

11641164
Some features may require several mypy releases to implement, for example
11651165
due to their complexity, potential for backwards incompatibility, or
@@ -1214,6 +1214,9 @@ List of currently incomplete/experimental features:
12141214
def test_values() -> {"width": int, "description": str}:
12151215
return {"width": 42, "description": "test"}
12161216
1217+
* ``TypeForm``: this feature enables ``TypeForm``, as described in
1218+
`PEP 747 – Annotating Type Forms <https://peps.python.org/pep-0747/>_`.
1219+
12171220

12181221
Miscellaneous
12191222
*************

0 commit comments

Comments
 (0)