-
Notifications
You must be signed in to change notification settings - Fork 0
/
pep-21-the-when-of-python.html
152 lines (124 loc) · 6.89 KB
/
pep-21-the-when-of-python.html
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<!-- saved from url=(0033)https://peps.python.org/pep-0008/ -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
html {
overflow-y: hidden !important;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark">
<link rel="stylesheet" href="./pep-21-the-when-of-python_files/style.css" type="text/css">
<link rel="stylesheet" href="./pep-21-the-when-of-python_files/mq.css" type="text/css">
<link rel="stylesheet" href="./pep-21-the-when-of-python_files/pygments.css" type="text/css" media="" id="pyg-light">
<link rel="stylesheet" href="./pep-21-the-when-of-python_files/pygments_dark.css" type="text/css" media="" id="pyg-dark" disabled="">
</head>
<body style="">
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<symbol id="svg-sun-half" viewBox="0 0 24 24" pointer-events="all">
<title>Following system colour scheme</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="9"></circle>
<path d="M12 3v18m0-12l4.65-4.65M12 14.3l7.37-7.37M12 19.6l8.85-8.85"></path>
</svg>
</symbol>
<symbol id="svg-moon" viewBox="0 0 24 24" pointer-events="all">
<title>Selected dark colour scheme</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
<path d="M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z"></path>
</svg>
</symbol>
<symbol id="svg-sun" viewBox="0 0 24 24" pointer-events="all">
<title>Selected light colour scheme</title>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="12" cy="12" r="5"></circle>
<line x1="12" y1="1" x2="12" y2="3"></line>
<line x1="12" y1="21" x2="12" y2="23"></line>
<line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line>
<line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line>
<line x1="1" y1="12" x2="3" y2="12"></line>
<line x1="21" y1="12" x2="23" y2="12"></line>
<line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line>
<line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line>
</svg>
</symbol>
</svg>
<script>
document.documentElement.dataset.colour_scheme = "light"
</script>
<section id="pep-page-section">
<header>
<h1>Python Enhancement Proposals</h1>
<ul class="breadcrumbs">
<li><a href="https://www.python.org/" title="The Python Programming Language">Python</a> » </li>
<li><a href="https://peps.python.org/pep-0000/">PEP Index</a> » </li>
<li>PEP 21</li>
</ul>
<button id="colour-scheme-cycler" onclick="setColourScheme(nextColourScheme())">
<svg aria-hidden="true" class="colour-scheme-icon-when-auto"><use href="#svg-sun-half"></use></svg>
<svg aria-hidden="true" class="colour-scheme-icon-when-dark"><use href="#svg-moon"></use></svg>
<svg aria-hidden="true" class="colour-scheme-icon-when-light"><use href="#svg-sun"></use></svg>
<span class="visually-hidden">Toggle light / dark / auto colour theme</span>
</button>
</header>
<article>
<section id="pep-content">
<h1 class="page-title">PEP 21 – The When of Python</h1>
<dl class="rfc2822 field-list simple">
<dt class="field-odd">Author<span class="colon">:</span></dt>
<dd class="field-odd">The Python Community</dd>
<dt class="field-even">Status<span class="colon">:</span></dt>
<dd class="field-even">Active</dd>
<dt class="field-odd">Type<span class="colon">:</span></dt>
<dd class="field-odd">Process</dd>
<dt class="field-even">Created<span class="colon">:</span></dt>
<dd class="field-even">20-Aug-2022</dd>
<dt class="field-odd">Post-History<span class="colon">:</span></dt>
<dd class="field-odd">20-Aug-2022</dd>
</dl>
<hr class="docutils">
<section id="contents">
<details open=""><summary>Table of Contents</summary><ul class="simple">
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#introduction">Introduction</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds">Decision Criteria</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#code-lay-out">Almost Always Use</a>
</li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#string-quotes">Sometimes Use</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#whitespace-in-expressions-and-statements">Almost Never Use</a>
</li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#programming-recommendations">Guidance for Standards Track PEPs
</a>
</li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#references">References</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#copyright">Copyright</a></li>
</ul>
</details></section>
<section id="introduction">
<h2><a class="toc-backref" href="https://peps.python.org/pep-0008/#introduction" role="doc-backlink">Introduction</a></h2>
</section>
</section>
<hr class="docutils">
</article>
<nav id="pep-sidebar">
<h2>Contents</h2>
<ul class="simple">
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#introduction">Introduction</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds">Decision Criteria</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#code-lay-out">Almost Always Use</a>
</li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#string-quotes">Sometimes Use</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#whitespace-in-expressions-and-statements">Almost Never Use</a>
</li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#programming-recommendations">Guidance for Standards Track PEPs
</a>
</li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#references">References</a></li>
<li><a class="reference internal" href="https://peps.python.org/pep-0008/#copyright">Copyright</a></li>
</ul>
<br>
<a id="source" href="https://github.com/python/peps/blob/main/pep-0008.txt">Page Source (GitHub)</a>
</nav>
</section>
<script src="./pep-21-the-when-of-python_files/colour_scheme.js"></script>
</body></html>