Maciej Olko 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8898a8683b 
								
							 
						 
						
							
							
								
								gh-101100: Fix Sphinx warnings in tutorial/controlflow.rst ( #109424 )  
							
							... 
							
							
							
							Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> 
							
						 
						
							2023-09-29 11:27:43 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								622ddc4167 
								
							 
						 
						
							
							
								
								Improve references in the tutorial (GH-108069)  
							
							... 
							
							
							
							* Use full qualified names for references (even if they do not work now,
  they will work in future).
* Silence references to examples. 
							
						 
						
							2023-08-21 13:41:01 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jakub Červinka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9629d4442e 
								
							 
						 
						
							
							
								
								gh-107017: removed mention that C does it the same way ( #107020 )  
							
							
							
						 
						
							2023-07-23 02:57:52 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Terry Jan Reedy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7aa89e505d 
								
							 
						 
						
							
							
								
								gh-106780: Add __match_args__ to tutorial example ( #106784 )  
							
							... 
							
							
							
							Add Point definition with this attribute before example
that needs it. 
							
						 
						
							2023-07-16 23:36:03 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									RustyNail 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d0b7e18262 
								
							 
						 
						
							
							
								
								gh-106625 : Add missing code to tutorial 4.6 example ( #106623 )  
							
							... 
							
							
							
							* Added missing import statement.
* Update Doc/tutorial/controlflow.rst
* Update Doc/tutorial/controlflow.rst
* Update controlflow.rst
* Make point regular class with __init__.
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 
							
						 
						
							2023-07-11 13:22:07 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Adam Turner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								55d50d147c 
								
							 
						 
						
							
							
								
								GH-97950: Use new-style index directive ('statement') ( #104162 )  
							
							
							
						 
						
							2023-05-04 13:48:45 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Manuel Kaufmann 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d22bde983e 
								
							 
						 
						
							
							
								
								Missing PS1 prompt in tutorial example (GH-98921)  
							
							
							
						 
						
							2022-10-31 21:24:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									max 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								dd5cf84f24 
								
							 
						 
						
							
							
								
								Tutorial: specify match cases don't fall through (GH-93615)  
							
							
							
						 
						
							2022-06-21 21:44:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									William Andrea 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								badb637c8c 
								
							 
						 
						
							
							
								
								docs: Don't use code formatting for emphasis (GH-30519)  
							
							
							
						 
						
							2022-03-07 20:14:47 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									William Andrea 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								35f55cc5c6 
								
							 
						 
						
							
							
								
								docs: Link match statement in tutorial (GH-31396)  
							
							... 
							
							
							
							Add a link to the `match` statement from its section in the tutorial.
This should be backported to 3.10.
[Initially submitted as #31395  but against the wrong branch. Thanks @Mariatta]
Automerge-Triggered-By: GH:Mariatta 
							
						 
						
							2022-02-17 16:02:42 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alex Waygood 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1cbb88736c 
								
							 
						 
						
							
							
								
								bpo-46059: Clarify pattern-matching example in "control flow" docs (GH-30079)  
							
							... 
							
							
							
							The "Color" example in the pattern-matching section of the "control flow" documentation is not immediately runnable, leading to confusion.
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> 
							
						 
						
							2021-12-14 23:04:29 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									180909 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7484a5c82a 
								
							 
						 
						
							
							
								
								Closes bpo-45712: Add missing word in control flow tutorial (GH-29460)  
							
							
							
						 
						
							2021-11-08 10:51:01 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									meowmeowmeowcat 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ed524b4569 
								
							 
						 
						
							
							
								
								bpo-44907: Update error messages in tutorial examples (GH-27755)  
							
							
							
						 
						
							2021-08-13 19:40:58 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mariusz Felisiak 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								11749e2dc2 
								
							 
						 
						
							
							
								
								bpo-44740: Lowercase "internet" and "web" where appropriate. ( #27378 )  
							
							... 
							
							
							
							Co-authored-by: Łukasz Langa <lukasz@langa.pl> 
							
						 
						
							2021-07-27 00:11:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									jdevries3133 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2f49c9debc 
								
							 
						 
						
							
							
								
								bpo-40620: Clarify tutorial controlflow.rst `range` examples (GH-26919)  
							
							
							
						 
						
							2021-06-27 20:27:20 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6574334a68 
								
							 
						 
						
							
							
								
								bpo-40640: doc -- add missing ... in example of Continue ( #26055 )  
							
							... 
							
							
							
							Co-authored-by: Chas Belov <59780179+ChasBelov@users.noreply.github.com> 
							
						 
						
							2021-05-12 11:23:03 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a53e9a7cf5 
								
							 
						 
						
							
							
								
								bpo-39231: correct tutorial annotations section (GH-25029)  
							
							
							
						 
						
							2021-03-27 13:20:58 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Daniel F Moisset 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a22bca6b1e 
								
							 
						 
						
							
							
								
								bpo-42128: Add documentation for pattern matching (PEP 634) ( #24664 )  
							
							... 
							
							
							
							This is a first edition, ready to go out with the implementation. We'll iterate during the rest of the period leading up to 3.10.0.
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com>
Co-authored-by: Brandt Bucher <brandt@python.org>
Co-authored-by: Raymond Hettinger <1623689+rhettinger@users.noreply.github.com>
Co-authored-by: Guido van Rossum <guido@python.org> 
							
						 
						
							2021-02-28 20:08:38 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Terry Jan Reedy 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b30fcba3a8 
								
							 
						 
						
							
							
								
								bpo-43042: Augment tutorial sentence (GH-24514)  
							
							... 
							
							
							
							Calling same function also gets new local namespace. 
							
						 
						
							2021-02-19 19:26:21 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Neeraj Samtani 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7bcc6456ad 
								
							 
						 
						
							
							
								
								bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234)  
							
							... 
							
							
							
							Revise example of "continue" in the tutorial documentation 
							
						 
						
							2020-09-15 09:39:29 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Denis Ovsienko 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0be7c216e1 
								
							 
						 
						
							
							
								
								Fix grammar in Doc/tutorial/controlflow.rst (GH-21885)  
							
							... 
							
							
							
							Automerge-Triggered-By: @csabella 
							
						 
						
							2020-08-19 04:29:47 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Joannah Nanjekye 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d12af71047 
								
							 
						 
						
							
							
								
								bpo-28681: Clarify multiple function names in the tutorial (GH-21340)  
							
							... 
							
							
							
							* improve control flow docs
* Add also
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 
							
						 
						
							2020-07-05 22:47:15 -03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6fad3e6b49 
								
							 
						 
						
							
							
								
								bpo-40552 Add 'users' variable in code sample (tutorial 4.2). (GH-19992)  
							
							... 
							
							
							
							* Add 'users' variable in code sample.
* 📜 🤖  Added by blurb_it.
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> 
							
						 
						
							2020-05-22 21:29:34 -03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Don Kirkby 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3ed4d25158 
								
							 
						 
						
							
							
								
								Grammar fix in tutorial (GH-18425)  
							
							
							
						 
						
							2020-02-09 19:57:46 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Diego Alberto Barriga Martínez 
								
							 
						 
						
							
							
							
							
								
							
							
								b57481318e 
								
							 
						 
						
							
							
								
								bpo-37904: Edition on python tutorial - section 4 (GH-16169)  
							
							... 
							
							
							
							A little change on first paragraph of python tutorial to be more clearly
https://bugs.python.org/issue37904 
Automerge-Triggered-By: @ericvsmith 
							
						 
						
							2019-09-17 09:57:55 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Adorilson Bezerra 
								
							 
						 
						
							
							
							
							
								
							
							
								b7af4e7565 
								
							 
						 
						
							
							
								
								Doc: remove duplicate word in controlflow tutorial (GH-16163)  
							
							
							
						 
						
							2019-09-16 09:04:58 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6fcb6cfb13 
								
							 
						 
						
							
							
								
								bpo-30826: Improve control flow examples (GH-15407)  
							
							
							
						 
						
							2019-08-22 23:44:19 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Julien Palard 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2da622ff77 
								
							 
						 
						
							
							
								
								Doc: Fix: Proper UpperCamelCase and lowercase. (GH-14644)  
							
							... 
							
							
							
							Initial report by Michael Blankenship on docs@ 
							
						 
						
							2019-07-08 23:06:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Marco Buttu 
								
							 
						 
						
							
							
							
							
								
							
							
								218e47b618 
								
							 
						 
						
							
							
								
								bpo-29414: Change 'the for statement is such an iterator' in Tutorial (GH-273)  
							
							
							
						 
						
							2019-06-01 14:11:47 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									pbhd 
								
							 
						 
						
							
							
							
							
								
							
							
								e1f95e77e0 
								
							 
						 
						
							
							
								
								bpo-36739: Update controlflow.rst (GH-12983)  
							
							... 
							
							
							
							in addition to global-statement also mention nonlocal-statement
(in the paragraph describing access to variables which are non local to a function 
							
						 
						
							2019-05-28 20:38:03 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pablo Galindo 
								
							 
						 
						
							
							
							
							
								
							
							
								b76302ddd0 
								
							 
						 
						
							
							
								
								bpo-36540: Documentation for PEP570 - Python positional only arguments ( #13202 )  
							
							... 
							
							
							
							* bpo-36540: Documentation for PEP570 - Python positional only arguments
* fixup! bpo-36540: Documentation for PEP570 - Python positional only arguments
* Update reference for compound statements
* Apply suggestions from Carol
Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
* Update Doc/tutorial/controlflow.rst
Co-Authored-By: Carol Willing <carolcode@willingconsulting.com>
* Add extra bullet point and minor edits 
							
						 
						
							2019-05-28 16:45:32 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Julien Palard 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								51ddab8dae 
								
							 
						 
						
							
							
								
								Doc: Add missing forward reference in the tutorial. (GH-13499)  
							
							
							
						 
						
							2019-05-28 15:10:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fb28fcc925 
								
							 
						 
						
							
							
								
								Revert "Minor doc improvement (GH-10341)" (GH-12597)  
							
							... 
							
							
							
							This reverts commit dfd775a0b1 
							
						 
						
							2019-03-27 21:03:02 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andre Delfino 
								
							 
						 
						
							
							
							
							
								
							
							
								dfd775a0b1 
								
							 
						 
						
							
							
								
								Minor doc improvement (GH-10341)  
							
							... 
							
							
							
							Change "star-operator" to "* operator". 
							
						 
						
							2019-03-26 21:17:50 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Cheryl Sabella 
								
							 
						 
						
							
							
							
							
								
							
							
								b7105c9c96 
								
							 
						 
						
							
							
								
								bpo-35566: Add links to annotation glossary term (GH-11291)  
							
							
							
						 
						
							2018-12-23 21:09:09 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2b57c43f21 
								
							 
						 
						
							
							
								
								bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)  
							
							
							
						 
						
							2018-12-19 08:09:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3f819ca138 
								
							 
						 
						
							
							
								
								bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)  
							
							
							
						 
						
							2018-10-31 02:26:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								913876d824 
								
							 
						 
						
							
							
								
								bpo-35054: Add yet more index entries for symbols. (GH-10121)  
							
							
							
						 
						
							2018-10-28 13:41:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ddb961d2ab 
								
							 
						 
						
							
							
								
								bpo-35054: Add more index entries for symbols. (GH-10064)  
							
							
							
						 
						
							2018-10-26 09:00:49 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Neeraj Badlani 
								
							 
						 
						
							
							
							
							
								
							
							
								643ff711fa 
								
							 
						 
						
							
							
								
								Mention both relevant PEPs in function annotations tutorial (GH-6304)  
							
							... 
							
							
							
							Patch by Neeraj Badlani. 
							
						 
						
							2018-04-25 12:52:13 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steven M. Vascellaro 
								
							 
						 
						
							
							
							
							
								
							
							
								83d7062d2d 
								
							 
						 
						
							
							
								
								controlflow: Use full example for "5 through 9" (GH-5907)  
							
							... 
							
							
							
							Replace example result of "5 through 9" with complete list: "5, 6, 7, 8, 9".
This format is more consistent with the surrounding examples. 
							
						 
						
							2018-03-09 11:57:21 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									regexaurus 
								
							 
						 
						
							
							
							
							
								
							
							
								36fc896740 
								
							 
						 
						
							
							
								
								Clarification to the break statement (GH-2453)  
							
							... 
							
							
							
							Clarify that the break statement breaks out of the innermost enclosing for or while loop. 
							
						 
						
							2017-06-27 15:40:41 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									UltimateCoder 
								
							 
						 
						
							
							
							
							
								
							
							
								8856940cf2 
								
							 
						 
						
							
							
								
								bpo-28315: Improve code examples in docs (GH-1372)  
							
							... 
							
							
							
							Replace
   File "<stdin>", line 1, in ? 
with 
   File "<stdin>", line 1, in <module> 
							
						 
						
							2017-05-03 09:46:45 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jim Fasarakis-Hilliard 
								
							 
						 
						
							
							
							
							
								
							
							
								32e8f9bdfd 
								
							 
						 
						
							
							
								
								bpo-29453: Remove reference to undefined dictionary ordering in Tutorial (GH-140)  
							
							... 
							
							
							
							As of Python 3.6 **kwargs are ordered, thus, remove the paragraph stating that
ordering is undefined and change snippet to remove the unecessary sorted call.
* Add sentence mentioning guaranteed output order of kwargs 
							
						 
						
							2017-02-20 21:20:23 -09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								6a09315ff0 
								
							 
						 
						
							
							
								
								Issue  #26462 : Merge code block fixes from 3.5  
							
							
							
						 
						
							2016-07-29 01:49:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin Panter 
								
							 
						 
						
							
							
							
							
								
							
							
								1050d2d0c7 
								
							 
						 
						
							
							
								
								Issue  #26462 : Doc: reduce literal_block warnings, fix syntax highlighting.  
							
							... 
							
							
							
							Patch by Julien Palard. 
							
						 
						
							2016-07-26 11:18:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								0a5120e457 
								
							 
						 
						
							
							
								
								Issue  #23116 : Improve ask_ok() example in the Python tutorial  
							
							
							
						 
						
							2016-06-02 11:31:19 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								9c27c18c65 
								
							 
						 
						
							
							
								
								Issue  #23116 : Merge from 3.5  
							
							
							
						 
						
							2016-06-02 11:31:51 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								c499f30286 
								
							 
						 
						
							
							
								
								Issue  #23921 : Standardized documentation whitespace formatting.  
							
							... 
							
							
							
							Original patch by James Edwards. 
							
						 
						
							2016-05-10 12:01:56 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								dba903993a 
								
							 
						 
						
							
							
								
								Issue  #23921 : Standardized documentation whitespace formatting.  
							
							... 
							
							
							
							Original patch by James Edwards. 
							
						 
						
							2016-05-10 12:01:23 +03:00