Skip to content

Commit c482596

Browse files
committed
--allow-redefinition-new is no longer experimental (#21110)
@ilevkivskyi made a bunch of improvements to the feature.
1 parent c916ca3 commit c482596

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/source/command_line.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ of the above sections.
598598
.. option:: --allow-redefinition-new
599599

600600
By default, mypy won't allow a variable to be redefined with an
601-
unrelated type. This flag enables the redefinition of unannotated
601+
unrelated type. This flag enables the redefinition of *unannotated*
602602
variables with an arbitrary type. You will also need to enable
603603
:option:`--local-partial-types <mypy --local-partial-types>`.
604604
Example:
@@ -645,7 +645,6 @@ of the above sections.
645645
646646
Note: We are planning to turn this flag on by default in a future mypy
647647
release, along with :option:`--local-partial-types <mypy --local-partial-types>`.
648-
The feature is still experimental, and the semantics may still change.
649648

650649
.. option:: --allow-redefinition
651650

0 commit comments

Comments
 (0)