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
|
{% set permalink = ("Link" if sphinx_version >= (7, 2) else 'Permalink') -%}
{% set heading = ("heading" if sphinx_version >= (5, 0) else 'headline') -%}
{% set sig_prename_tag=("span" if sphinx_version >= (4, 0) else 'code') -%}
{% set sig_object_class=(' class="sig sig-object py"' if sphinx_version >= (4, 0) else '') -%}
<!DOCTYPE html>
<html{% if sphinx_version >= (7, 2) %} data-content_root="./"{% endif %}{% if sphinx_version >= (5, 0) %} lang="en"{% endif %}>
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
{% if docutils_version[1] == 18 %}<meta content="Docutils 0.18.1: http://docutils.sourceforge.net/" name="generator"/>
{% elif docutils_version[1] == 17 %}<meta content="Docutils 0.17.1: http://docutils.sourceforge.net/" name="generator"/>
{% elif docutils_version[1] == 19 %}<meta content="Docutils 0.19: https://docutils.sourceforge.io/" name="generator"/>
{% elif docutils_version[1] >= 20 %}<meta content="width=device-width, initial-scale=1" name="viewport"/>
{% endif %}<title>
sphinx-toolbox Demo - Genericalias — Python documentation
</title>{% if sphinx_version >= (7, 2) %}
<script src="_static/documentation_options.js?v=5929fcd5">{% else %}
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js{% if sphinx_version >= (7, 1) %}?v=b3ba4146{% endif %}">{% endif %}
</script>{% if sphinx_version < (6, 0) %}
<script src="_static/jquery.js">
</script>
<script src="_static/underscore.js">
</script>{% if sphinx_version >= (5, 0) %}
<script src="_static/_sphinx_javascript_frameworks_compat.js">
</script>{% endif %}{% endif %}
<script src="_static/doctools.js{% if sphinx_version >= (8, 1) %}?v=9bcbadda{% elif sphinx_version >= (7, 3) %}?v=9a2dae69{% elif sphinx_version >= (7, 1) %}?v=888ff710{% endif %}">
</script>{% if sphinx_version >= (5, 2) %}
<script src="_static/sphinx_highlight.js{% if sphinx_version >= (7, 2) %}?v=dc90522c{% elif sphinx_version >= (7, 1) %}?v=4825356b{% endif %}">
</script>{% endif %}
<script src="_static/sphinx_toolbox_installation.js">
</script>
</head>
<body>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="module-tests.test_output.variables_genericalias_demo">
<span id="sphinx-toolbox-demo-genericalias">
</span>
<h1>
sphinx-toolbox Demo - Genericalias
<a class="headerlink" href="#module-tests.test_output.variables_genericalias_demo" title="{{ permalink }} to this {{ heading }}">
¶
</a>
</h1>
<dl class="py data">
<dt{{ sig_object_class }} id="tests.test_output.variables_genericalias_demo.PathLike">
<{{ sig_prename_tag }} class="sig-prename descclassname">
tests.test_output.variables_genericalias_demo.
</{{ sig_prename_tag }}>
<{{ sig_prename_tag }} class="sig-name descname">
PathLike
</{{ sig_prename_tag }}>
<a class="headerlink" href="#tests.test_output.variables_genericalias_demo.PathLike" title="Permalink to this definition">
¶
</a>
</dt>
<dd>
<p>
Type hint for filesystem paths
</p>
<p>
Alias of
<a class="reference external" href="https://docs.python.org/3/library/typing.html#typing.Union" title="(in Python v3.13)">
<code class="xref py py-data docutils literal notranslate">
<span class="pre">
Union
</span>
</code>
</a>
[
<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.13)">
<code class="xref py py-class docutils literal notranslate">
<span class="pre">
str
</span>
</code>
</a>
,
<a class="reference external" href="https://docs.python.org/3/library/os.html#os.PathLike" title="(in Python v3.13)">
<code class="xref py py-class docutils literal notranslate">
<span class="pre">
PathLike
</span>
</code>
</a>
,
<a class="reference external" href="https://docs.python.org/3/library/pathlib.html#pathlib.Path" title="(in Python v3.13)">
<code class="xref py py-class docutils literal notranslate">
<span class="pre">
Path
</span>
</code>
</a>
]
</p>
</dd>
</dl>
</div>{% if sphinx_version >= (8, 1) %}
<div class="clearer">
</div>{% endif %}
</div>
</div>
</div>
<div class="clearer">
</div>
</div>
</body>
</html>
|