File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -995,7 +995,7 @@ format into the specified directory.
995
995
Enabling incomplete/experimental features
996
996
*****************************************
997
997
998
- .. option :: --enable-incomplete-feature FEATURE
998
+ .. option :: --enable-incomplete-feature {PreciseTupleTypes}
999
999
1000
1000
Some features may require several mypy releases to implement, for example
1001
1001
due to their complexity, potential for backwards incompatibility, or
Original file line number Diff line number Diff line change @@ -1010,7 +1010,7 @@ def add_invertible_flag(
1010
1010
parser .add_argument (
1011
1011
"--enable-incomplete-feature" ,
1012
1012
action = "append" ,
1013
- metavar = "FEATURE " ,
1013
+ metavar = "{" + "," . join ( sorted ( INCOMPLETE_FEATURES )) + "} " ,
1014
1014
help = "Enable support of incomplete/experimental features for early preview" ,
1015
1015
)
1016
1016
internals_group .add_argument (
You can’t perform that action at this time.
0 commit comments