1
-
2
1
<!DOCTYPE html>
3
2
4
3
< html lang ="en ">
5
4
< head >
6
5
< meta charset ="utf-8 " />
7
- < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " /> < meta name ="generator " content ="Docutils 0.18.1: http://docutils.sourceforge.net/ " />
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " /> < meta name ="viewport " content ="width=device-width, initial-scale=1 " />
8
7
9
- < title > IDLE — Python 3.12.0a0 documentation</ title > < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
8
+ < title > IDLE — Python 3.13.0a2 documentation</ title > < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
10
9
11
10
< link rel ="stylesheet " type ="text/css " href ="../_static/pygments.css " />
12
- < link rel ="stylesheet " type ="text/css " href ="../_static/pydoctheme.css?2022.1 " />
11
+ < link rel ="stylesheet " type ="text/css " href ="../_static/pydoctheme.css?digest=b37c26da2f7529d09fe70b41c4b2133fe4931a90 " />
12
+ < link id ="pygments_dark_css " media ="(prefers-color-scheme: dark) " rel ="stylesheet " type ="text/css " href ="../_static/pygments_dark.css " />
13
13
14
14
< script data-url_root ="../ " id ="documentation_options " src ="../_static/documentation_options.js "> </ script >
15
- < script src ="../_static/jquery.js "> </ script >
16
- < script src ="../_static/underscore.js "> </ script >
17
- < script src ="../_static/_sphinx_javascript_frameworks_compat.js "> </ script >
18
15
< script src ="../_static/doctools.js "> </ script >
16
+ < script src ="../_static/sphinx_highlight.js "> </ script >
19
17
20
18
< script src ="../_static/sidebar.js "> </ script >
21
19
22
20
< link rel ="search " type ="application/opensearchdescription+xml "
23
- title ="Search within Python 3.12.0a0 documentation "
21
+ title ="Search within Python 3.13.0a2 documentation "
24
22
href ="../_static/opensearch.xml "/>
25
23
< link rel ="author " title ="About these documents " href ="../about.html " />
26
24
< link rel ="index " title ="Index " href ="../genindex.html " />
27
25
< link rel ="search " title ="Search " href ="../search.html " />
28
26
< link rel ="copyright " title ="Copyright " href ="../copyright.html " />
29
27
< link rel ="next " title ="Development Tools " href ="development.html " />
30
- < link rel ="prev " title ="tkinter.tix — Extension widgets for Tk " href ="tkinter.tix .html " />
28
+ < link rel ="prev " title ="tkinter.ttk — Tk themed widgets " href ="tkinter.ttk .html " />
31
29
< link rel ="canonical " href ="https://docs.python.org/3/library/idle.html " />
32
30
33
31
41
39
}
42
40
}
43
41
</ style >
44
- < link rel ="shortcut icon " type ="image/png " href ="../_static/py.svg " />
42
+ < link rel ="stylesheet " href ="../_static/pydoctheme_dark.css " media ="(prefers-color-scheme: dark) " id ="pydoctheme_dark_css ">
43
+ < link rel ="shortcut icon " type ="image/png " href ="../_static/py.svg " />
45
44
< script type ="text/javascript " src ="../_static/copybutton.js "> </ script >
46
45
< script type ="text/javascript " src ="../_static/menu.js "> </ script >
46
+ < script type ="text/javascript " src ="../_static/search-focus.js "> </ script >
47
+ < script type ="text/javascript " src ="../_static/themetoggle.js "> </ script >
47
48
48
49
</ head >
49
50
< body >
50
51
< div class ="mobile-nav ">
51
52
< input type ="checkbox " id ="menuToggler " class ="toggler__input " aria-controls ="navigation "
52
53
aria-pressed ="false " aria-expanded ="false " role ="button " aria-label ="Menu " />
53
- < label for ="menuToggler " class ="toggler__label ">
54
- < span > </ span >
55
- </ label >
56
54
< nav class ="nav-content " role ="navigation ">
57
- < a href ="https://www.python.org/ " class ="nav-logo ">
58
- < img src ="../_static/py.svg " alt ="Logo "/>
59
- </ a >
60
- < div class ="version_switcher_placeholder "> </ div >
61
- < form role ="search " class ="search " action ="../search.html " method ="get ">
62
- < svg xmlns ="http://www.w3.org/2000/svg " width ="20 " height ="20 " viewBox ="0 0 24 24 " class ="search-icon ">
63
- < path fill-rule ="nonzero "
64
- d ="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z " fill ="#444 "> </ path >
65
- </ svg >
66
- < input type ="text " name ="q " aria-label ="Quick search "/>
67
- < input type ="submit " value ="Go "/>
68
- </ form >
55
+ < label for ="menuToggler " class ="toggler__label ">
56
+ < span > </ span >
57
+ </ label >
58
+ < span class ="nav-items-wrapper ">
59
+ < a href ="https://www.python.org/ " class ="nav-logo ">
60
+ < img src ="../_static/py.svg " alt ="Logo "/>
61
+ </ a >
62
+ < span class ="version_switcher_placeholder "> </ span >
63
+ < form role ="search " class ="search " action ="../search.html " method ="get ">
64
+ < svg xmlns ="http://www.w3.org/2000/svg " width ="20 " height ="20 " viewBox ="0 0 24 24 " class ="search-icon ">
65
+ < path fill-rule ="nonzero " fill ="currentColor " d ="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z "> </ path >
66
+ </ svg >
67
+ < input placeholder ="Quick search " aria-label ="Quick search " type ="search " name ="q " />
68
+ < input type ="submit " value ="Go "/>
69
+ </ form >
70
+ </ span >
69
71
</ nav >
70
72
< div class ="menu-wrapper ">
71
73
< nav class ="menu " role ="navigation " aria-label ="main navigation ">
72
74
< div class ="language_switcher_placeholder "> </ div >
75
+
76
+ < label class ="theme-selector-label ">
77
+ Theme
78
+ < select class ="theme-selector " oninput ="activateTheme(this.value) ">
79
+ < option value ="auto " selected > Auto</ option >
80
+ < option value ="light "> Light</ option >
81
+ < option value ="dark "> Dark</ option >
82
+ </ select >
83
+ </ label >
73
84
< div >
74
85
< h3 > < a href ="../contents.html "> Table of Contents</ a > </ h3 >
75
86
< ul >
@@ -123,8 +134,8 @@ <h3><a href="../contents.html">Table of Contents</a></h3>
123
134
</ div >
124
135
< div >
125
136
< h4 > Previous topic</ h4 >
126
- < p class ="topless "> < a href ="tkinter.tix .html "
127
- title ="previous chapter "> < code class ="xref py py-mod docutils literal notranslate "> < span class ="pre "> tkinter.tix </ span > </ code > — Extension widgets for Tk </ a > </ p >
137
+ < p class ="topless "> < a href ="tkinter.ttk .html "
138
+ title ="previous chapter "> < code class ="xref py py-mod docutils literal notranslate "> < span class ="pre "> tkinter.ttk </ span > </ code > — Tk themed widgets </ a > </ p >
128
139
</ div >
129
140
< div >
130
141
< h4 > Next topic</ h4 >
@@ -160,7 +171,7 @@ <h3>Navigation</h3>
160
171
< a href ="development.html " title ="Development Tools "
161
172
accesskey ="N "> next</ a > |</ li >
162
173
< li class ="right " >
163
- < a href ="tkinter.tix .html " title ="tkinter.tix — Extension widgets for Tk "
174
+ < a href ="tkinter.ttk .html " title ="tkinter.ttk — Tk themed widgets "
164
175
accesskey ="P "> previous</ a > |</ li >
165
176
166
177
< li > < img src ="../_static/py.svg " alt ="python logo " style ="vertical-align: middle; margin-top: -1px "/> </ li >
@@ -173,7 +184,7 @@ <h3>Navigation</h3>
173
184
174
185
</ li >
175
186
< li id ="cpython-language-and-version ">
176
- < a href ="../index.html "> 3.12.0a0 Documentation</ a > »
187
+ < a href ="../index.html "> 3.13.0a2 Documentation</ a > »
177
188
</ li >
178
189
179
190
< li class ="nav-item nav-item-1 "> < a href ="index.html " > The Python Standard Library</ a > »</ li >
@@ -184,14 +195,21 @@ <h3>Navigation</h3>
184
195
185
196
< div class ="inline-search " role ="search ">
186
197
< form class ="inline-search " action ="../search.html " method ="get ">
187
- < input placeholder ="Quick search " aria-label ="Quick search " type ="text " name ="q " />
198
+ < input placeholder ="Quick search " aria-label ="Quick search " type ="search " name ="q " id =" search-box " />
188
199
< input type ="submit " value ="Go " />
189
- < input type ="hidden " name ="check_keywords " value ="yes " />
190
- < input type ="hidden " name ="area " value ="default " />
191
200
</ form >
192
201
</ div >
193
202
|
194
203
</ li >
204
+ < li class ="right ">
205
+ < label class ="theme-selector-label ">
206
+ Theme
207
+ < select class ="theme-selector " oninput ="activateTheme(this.value) ">
208
+ < option value ="auto " selected > Auto</ option >
209
+ < option value ="light "> Light</ option >
210
+ < option value ="dark "> Dark</ option >
211
+ </ select >
212
+ </ label > |</ li >
195
213
196
214
</ ul >
197
215
</ div >
@@ -531,16 +549,15 @@ <h3>Editor windows<a class="headerlink" href="#editor-windows" title="Permalink
531
549
< h3 > Key bindings< a class ="headerlink " href ="#key-bindings " title ="Permalink to this heading "> ¶</ a > </ h3 >
532
550
< p > In this section, ‘C’ refers to the < kbd class ="kbd docutils literal notranslate "> Control</ kbd > key on Windows and Unix and
533
551
the < kbd class ="kbd docutils literal notranslate "> Command</ kbd > key on macOS.</ p >
534
- < ul >
552
+ < ul class =" simple " >
535
553
< li > < p > < kbd class ="kbd docutils literal notranslate "> Backspace</ kbd > deletes to the left; < kbd class ="kbd docutils literal notranslate "> Del</ kbd > deletes to the right</ p > </ li >
536
554
< li > < p > < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> Backspace</ kbd > </ kbd > delete word left; < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> Del</ kbd > </ kbd > delete word to the right</ p > </ li >
537
- < li > < p > Arrow keys and < kbd class ="kbd docutils literal notranslate "> Page Up</ kbd > /< kbd class ="kbd compound docutils literal notranslate "> < kbd class =" kbd docutils literal notranslate " > Page</ kbd > < kbd class =" kbd docutils literal notranslate " > Down</ kbd > </ kbd > to move around</ p > </ li >
555
+ < li > < p > Arrow keys and < kbd class ="kbd docutils literal notranslate "> Page Up</ kbd > /< kbd class ="kbd docutils literal notranslate "> Page Down</ kbd > to move around</ p > </ li >
538
556
< li > < p > < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> LeftArrow</ kbd > </ kbd > and < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> RightArrow</ kbd > </ kbd > moves by words</ p > </ li >
539
557
< li > < p > < kbd class ="kbd docutils literal notranslate "> Home</ kbd > /< kbd class ="kbd docutils literal notranslate "> End</ kbd > go to begin/end of line</ p > </ li >
540
558
< li > < p > < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> Home</ kbd > </ kbd > /< kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> End</ kbd > </ kbd > go to begin/end of file</ p > </ li >
541
559
< li > < p > Some useful Emacs bindings are inherited from Tcl/Tk:</ p >
542
- < blockquote >
543
- < div > < ul class ="simple ">
560
+ < ul >
544
561
< li > < p > < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> a</ kbd > </ kbd > beginning of line</ p > </ li >
545
562
< li > < p > < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> e</ kbd > </ kbd > end of line</ p > </ li >
546
563
< li > < p > < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> k</ kbd > </ kbd > kill line (but doesn’t put it in clipboard)</ p > </ li >
@@ -553,7 +570,6 @@ <h3>Key bindings<a class="headerlink" href="#key-bindings" title="Permalink to t
553
570
this)</ p > </ li >
554
571
< li > < p > < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> d</ kbd > </ kbd > delete next character</ p > </ li >
555
572
</ ul >
556
- </ div > </ blockquote >
557
573
</ li >
558
574
</ ul >
559
575
< p > Standard keybindings (like < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> c</ kbd > </ kbd > to copy and < kbd class ="kbd compound docutils literal notranslate "> < kbd class ="kbd docutils literal notranslate "> C</ kbd > -< kbd class ="kbd docutils literal notranslate "> v</ kbd > </ kbd > to paste)
@@ -574,7 +590,7 @@ <h3>Automatic indentation<a class="headerlink" href="#automatic-indentation" tit
574
590
< h3 > Search and Replace< a class ="headerlink " href ="#search-and-replace " title ="Permalink to this heading "> ¶</ a > </ h3 >
575
591
< p > Any selection becomes a search target. However, only selections within
576
592
a line work because searches are only performed within lines with the
577
- terminal newline removed. If < code class ="docutils literal notranslate "> < span class ="pre "> [x]</ span > < span class ="pre "> Regular</ span > < span class ="pre "> expresion </ span > </ code > is checked, the
593
+ terminal newline removed. If < code class ="docutils literal notranslate "> < span class ="pre "> [x]</ span > < span class ="pre "> Regular</ span > < span class ="pre "> expression </ span > </ code > is checked, the
578
594
target is interpreted according to the Python re module.</ p >
579
595
</ section >
580
596
< section id ="completions ">
@@ -1077,8 +1093,8 @@ <h3><a href="../contents.html">Table of Contents</a></h3>
1077
1093
</ div >
1078
1094
< div >
1079
1095
< h4 > Previous topic</ h4 >
1080
- < p class ="topless "> < a href ="tkinter.tix .html "
1081
- title ="previous chapter "> < code class ="xref py py-mod docutils literal notranslate "> < span class ="pre "> tkinter.tix </ span > </ code > — Extension widgets for Tk </ a > </ p >
1096
+ < p class ="topless "> < a href ="tkinter.ttk .html "
1097
+ title ="previous chapter "> < code class ="xref py py-mod docutils literal notranslate "> < span class ="pre "> tkinter.ttk </ span > </ code > — Tk themed widgets </ a > </ p >
1082
1098
</ div >
1083
1099
< div >
1084
1100
< h4 > Next topic</ h4 >
@@ -1117,7 +1133,7 @@ <h3>Navigation</h3>
1117
1133
< a href ="development.html " title ="Development Tools "
1118
1134
> next</ a > |</ li >
1119
1135
< li class ="right " >
1120
- < a href ="tkinter.tix .html " title ="tkinter.tix — Extension widgets for Tk "
1136
+ < a href ="tkinter.ttk .html " title ="tkinter.ttk — Tk themed widgets "
1121
1137
> previous</ a > |</ li >
1122
1138
1123
1139
< li > < img src ="../_static/py.svg " alt ="python logo " style ="vertical-align: middle; margin-top: -1px "/> </ li >
@@ -1130,7 +1146,7 @@ <h3>Navigation</h3>
1130
1146
1131
1147
</ li >
1132
1148
< li id ="cpython-language-and-version ">
1133
- < a href ="../index.html "> 3.12.0a0 Documentation</ a > »
1149
+ < a href ="../index.html "> 3.13.0a2 Documentation</ a > »
1134
1150
</ li >
1135
1151
1136
1152
< li class ="nav-item nav-item-1 "> < a href ="index.html " > The Python Standard Library</ a > »</ li >
@@ -1141,19 +1157,26 @@ <h3>Navigation</h3>
1141
1157
1142
1158
< div class ="inline-search " role ="search ">
1143
1159
< form class ="inline-search " action ="../search.html " method ="get ">
1144
- < input placeholder ="Quick search " aria-label ="Quick search " type ="text " name ="q " />
1160
+ < input placeholder ="Quick search " aria-label ="Quick search " type ="search " name ="q " id =" search-box " />
1145
1161
< input type ="submit " value ="Go " />
1146
- < input type ="hidden " name ="check_keywords " value ="yes " />
1147
- < input type ="hidden " name ="area " value ="default " />
1148
1162
</ form >
1149
1163
</ div >
1150
1164
|
1151
1165
</ li >
1166
+ < li class ="right ">
1167
+ < label class ="theme-selector-label ">
1168
+ Theme
1169
+ < select class ="theme-selector " oninput ="activateTheme(this.value) ">
1170
+ < option value ="auto " selected > Auto</ option >
1171
+ < option value ="light "> Light</ option >
1172
+ < option value ="dark "> Dark</ option >
1173
+ </ select >
1174
+ </ label > |</ li >
1152
1175
1153
1176
</ ul >
1154
1177
</ div >
1155
1178
< div class ="footer ">
1156
- © < a href ="../copyright.html "> Copyright</ a > 2001-2022 , Python Software Foundation.
1179
+ © < a href ="../copyright.html "> Copyright</ a > 2001-2024 , Python Software Foundation.
1157
1180
< br />
1158
1181
This page is licensed under the Python Software Foundation License Version 2.
1159
1182
< br />
@@ -1167,11 +1190,11 @@ <h3>Navigation</h3>
1167
1190
< br />
1168
1191
< br />
1169
1192
1170
- Last updated on Sep 03, 2022 .
1193
+ Last updated on Jan 16, 2024 (16:17 UTC) .
1171
1194
< a href ="/bugs.html "> Found a bug</ a > ?
1172
1195
< br />
1173
1196
1174
- Created using < a href ="https://www.sphinx-doc.org/ "> Sphinx</ a > 5 .0.2 .
1197
+ Created using < a href ="https://www.sphinx-doc.org/ "> Sphinx</ a > 7 .0.1 .
1175
1198
</ div >
1176
1199
1177
1200
</ body >
0 commit comments