1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
<document source="index">
<section ids="index" names="index">
<title>
Index
<section ids="code-block" names="code-block">
<title>
code-block
<container classes="sd-tab-set" design_component="tab-set" is_div="True">
<container classes="sd-tab-item" design_component="tab-item" is_div="True" selected="False">
<rubric classes="sd-tab-label" sync_id="3.10">
Python 3.10+
<container classes="sd-tab-content" design_component="tab-content" is_div="True">
<container classes="literal-block-wrapper" ids="id1" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
def foo(x: dict[str, str] | list[str]) -> list[int] | None:
pass
<container classes="sd-tab-item" design_component="tab-item" is_div="True" selected="False">
<rubric classes="sd-tab-label" sync_id="3.9">
Python 3.9+
<container classes="sd-tab-content" design_component="tab-content" is_div="True">
<container classes="literal-block-wrapper" ids="id2" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
from typing import Union, Optional
def foo(x: Union[dict[str, str], list[str]]) -> Optional[list[int]]:
pass
<container classes="sd-tab-item" design_component="tab-item" is_div="True" selected="True">
<rubric classes="sd-tab-label" sync_id="3.7">
Python 3.7+
<container classes="sd-tab-content" design_component="tab-content" is_div="True">
<container classes="literal-block-wrapper" ids="id3" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
from typing import Dict, Union, List, Optional
def foo(x: Union[Dict[str, str], List[str]]) -> Optional[List[int]]:
pass
<section ids="code-block-no-upgrade" names="code-block\ no\ upgrade">
<title>
code-block no upgrade
<container classes="literal-block-wrapper" ids="id4" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
from typing import Dict, Union, List, Optional
def foo(x: Union[Dict[str, str], List[str]]) -> Optional[List[int]]:
pass
<section ids="code-block-non-python" names="code-block\ non-python">
<title>
code-block non-python
<literal_block force="False" highlight_args="{}" language="javascript" xml:space="preserve">
const x = "hello"
<section ids="code-block-no-language" names="code-block\ no\ language">
<title>
code-block no language
<literal_block force="False" highlight_args="{}" language="default" xml:space="preserve">
this is something
<section ids="literalinclude" names="literalinclude">
<title>
literalinclude
<container classes="sd-tab-set" design_component="tab-set" is_div="True">
<container classes="sd-tab-item" design_component="tab-item" is_div="True" selected="False">
<rubric classes="sd-tab-label" sync_id="3.10">
Python 3.10+
<container classes="sd-tab-content" design_component="tab-content" is_div="True">
<container classes="literal-block-wrapper" ids="id5" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
def foo(x: dict[str, str] | list[str]) -> list[int] | None:
pass
<container classes="sd-tab-item" design_component="tab-item" is_div="True" selected="False">
<rubric classes="sd-tab-label" sync_id="3.9">
Python 3.9+
<container classes="sd-tab-content" design_component="tab-content" is_div="True">
<container classes="literal-block-wrapper" ids="id6" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
from typing import Union, Optional
def foo(x: Union[dict[str, str], list[str]]) -> Optional[list[int]]:
pass
<container classes="sd-tab-item" design_component="tab-item" is_div="True" selected="True">
<rubric classes="sd-tab-label" sync_id="3.7">
Python 3.7+
<container classes="sd-tab-content" design_component="tab-content" is_div="True">
<container classes="literal-block-wrapper" ids="id7" literal_block="True">
<caption>
test caption
<literal_block force="False" highlight_args="{}" language="python" xml:space="preserve">
from typing import Dict, Union, List, Optional
def foo(x: Union[Dict[str, str], List[str]]) -> Optional[List[int]]:
pass
<section ids="literalinclude-non-python" names="literalinclude\ non-python">
<title>
literalinclude non-python
<literal_block force="False" highlight_args="{'linenostart': 1}" language="javascript" source="example.js" xml:space="preserve">
const foo = "bar"
<section ids="literalinclude-no-language" names="literalinclude\ no\ language">
<title>
literalinclude no language
<literal_block force="False" highlight_args="{'linenostart': 1}" source="example.js" xml:space="preserve">
const foo = "bar"
|