Skip to content

Commit 2afc749

Browse files
committed
update docs to new format
1 parent 0eb3fe5 commit 2afc749

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

‎docs/tutorial/multiple-values/multiple-options.md‎

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -71,20 +71,7 @@ This feature makes it easy to parse multiple values from a single command-line a
7171

7272
To use this feature, define a command-line option that accepts multiple values separated by a specific character (such as a comma). Here's an example of how to implement this:
7373

74-
=== "Python 3.7+"
75-
76-
```Python hl_lines="7"
77-
{!> ../docs_src/multiple_values/multiple_options/tutorial003_an.py!}
78-
```
79-
80-
=== "Python 3.7+ non-Annotated"
81-
82-
!!! tip
83-
Prefer to use the `Annotated` version if possible.
84-
85-
```Python hl_lines="6"
86-
{!> ../docs_src/multiple_values/multiple_options/tutorial003.py!}
87-
```
74+
{* docs_src/multiple_values/multiple_options/tutorial003_an.py hl[7] *}
8875

8976
Check it:
9077

@@ -119,5 +106,5 @@ The sum is 14.5
119106

120107
</div>
121108

122-
!!! warning
109+
/// warning
123110
Only single-character non-whitespace separators are supported.

0 commit comments

Comments
 (0)