1-
21<!DOCTYPE html>
32
43< html lang ="en ">
54 < head >
65 < 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 " />
87
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 ">
109
1110 < 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 " />
1313
1414 < 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 >
1815 < script src ="../_static/doctools.js "> </ script >
16+ < script src ="../_static/sphinx_highlight.js "> </ script >
1917
2018 < script src ="../_static/sidebar.js "> </ script >
2119
2220 < 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 "
2422 href ="../_static/opensearch.xml "/>
2523 < link rel ="author " title ="About these documents " href ="../about.html " />
2624 < link rel ="index " title ="Index " href ="../genindex.html " />
2725 < link rel ="search " title ="Search " href ="../search.html " />
2826 < link rel ="copyright " title ="Copyright " href ="../copyright.html " />
2927 < 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 " />
3129 < link rel ="canonical " href ="https://docs.python.org/3/library/idle.html " />
3230
3331
4139 }
4240 }
4341 </ 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 " />
4544 < script type ="text/javascript " src ="../_static/copybutton.js "> </ script >
4645 < 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 >
4748
4849 </ head >
4950< body >
5051< div class ="mobile-nav ">
5152 < input type ="checkbox " id ="menuToggler " class ="toggler__input " aria-controls ="navigation "
5253 aria-pressed ="false " aria-expanded ="false " role ="button " aria-label ="Menu " />
53- < label for ="menuToggler " class ="toggler__label ">
54- < span > </ span >
55- </ label >
5654 < 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 >
6971 </ nav >
7072 < div class ="menu-wrapper ">
7173 < nav class ="menu " role ="navigation " aria-label ="main navigation ">
7274 < 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 >
7384 < div >
7485 < h3 > < a href ="../contents.html "> Table of Contents</ a > </ h3 >
7586 < ul >
@@ -123,8 +134,8 @@ <h3><a href="../contents.html">Table of Contents</a></h3>
123134 </ div >
124135 < div >
125136 < 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 >
128139 </ div >
129140 < div >
130141 < h4 > Next topic</ h4 >
@@ -160,7 +171,7 @@ <h3>Navigation</h3>
160171 < a href ="development.html " title ="Development Tools "
161172 accesskey ="N "> next</ a > |</ li >
162173 < 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 "
164175 accesskey ="P "> previous</ a > |</ li >
165176
166177 < li > < img src ="../_static/py.svg " alt ="python logo " style ="vertical-align: middle; margin-top: -1px "/> </ li >
@@ -173,7 +184,7 @@ <h3>Navigation</h3>
173184
174185 </ li >
175186 < 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 > »
177188 </ li >
178189
179190 < li class ="nav-item nav-item-1 "> < a href ="index.html " > The Python Standard Library</ a > »</ li >
@@ -184,14 +195,21 @@ <h3>Navigation</h3>
184195
185196 < div class ="inline-search " role ="search ">
186197 < 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 " />
188199 < input type ="submit " value ="Go " />
189- < input type ="hidden " name ="check_keywords " value ="yes " />
190- < input type ="hidden " name ="area " value ="default " />
191200 </ form >
192201 </ div >
193202 |
194203 </ 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 >
195213
196214 </ ul >
197215 </ div >
@@ -531,16 +549,15 @@ <h3>Editor windows<a class="headerlink" href="#editor-windows" title="Permalink
531549< h3 > Key bindings< a class ="headerlink " href ="#key-bindings " title ="Permalink to this heading "> ¶</ a > </ h3 >
532550< p > In this section, ‘C’ refers to the < kbd class ="kbd docutils literal notranslate "> Control</ kbd > key on Windows and Unix and
533551the < kbd class ="kbd docutils literal notranslate "> Command</ kbd > key on macOS.</ p >
534- < ul >
552+ < ul class =" simple " >
535553< 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 >
536554< 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 >
538556< 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 >
539557< 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 >
540558< 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 >
541559< li > < p > Some useful Emacs bindings are inherited from Tcl/Tk:</ p >
542- < blockquote >
543- < div > < ul class ="simple ">
560+ < ul >
544561< 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 >
545562< 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 >
546563< 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
553570this)</ p > </ li >
554571< 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 >
555572</ ul >
556- </ div > </ blockquote >
557573</ li >
558574</ ul >
559575< 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
574590< h3 > Search and Replace< a class ="headerlink " href ="#search-and-replace " title ="Permalink to this heading "> ¶</ a > </ h3 >
575591< p > Any selection becomes a search target. However, only selections within
576592a 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
578594target is interpreted according to the Python re module.</ p >
579595</ section >
580596< section id ="completions ">
@@ -1077,8 +1093,8 @@ <h3><a href="../contents.html">Table of Contents</a></h3>
10771093 </ div >
10781094 < div >
10791095 < 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 >
10821098 </ div >
10831099 < div >
10841100 < h4 > Next topic</ h4 >
@@ -1117,7 +1133,7 @@ <h3>Navigation</h3>
11171133 < a href ="development.html " title ="Development Tools "
11181134 > next</ a > |</ li >
11191135 < 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 "
11211137 > previous</ a > |</ li >
11221138
11231139 < li > < img src ="../_static/py.svg " alt ="python logo " style ="vertical-align: middle; margin-top: -1px "/> </ li >
@@ -1130,7 +1146,7 @@ <h3>Navigation</h3>
11301146
11311147 </ li >
11321148 < 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 > »
11341150 </ li >
11351151
11361152 < li class ="nav-item nav-item-1 "> < a href ="index.html " > The Python Standard Library</ a > »</ li >
@@ -1141,19 +1157,26 @@ <h3>Navigation</h3>
11411157
11421158 < div class ="inline-search " role ="search ">
11431159 < 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 " />
11451161 < input type ="submit " value ="Go " />
1146- < input type ="hidden " name ="check_keywords " value ="yes " />
1147- < input type ="hidden " name ="area " value ="default " />
11481162 </ form >
11491163 </ div >
11501164 |
11511165 </ 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 >
11521175
11531176 </ ul >
11541177 </ div >
11551178 < 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.
11571180 < br />
11581181 This page is licensed under the Python Software Foundation License Version 2.
11591182 < br />
@@ -1167,11 +1190,11 @@ <h3>Navigation</h3>
11671190< br />
11681191 < br />
11691192
1170- Last updated on Sep 03, 2022 .
1193+ Last updated on Jan 16, 2024 (16:17 UTC) .
11711194 < a href ="/bugs.html "> Found a bug</ a > ?
11721195 < br />
11731196
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 .
11751198 </ div >
11761199
11771200 </ body >
0 commit comments