summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* Improve the String tutorial docs (GH-4541) (GH-4545)Miss Islington (bot)2017-11-241-7/+7
| | | | | | The paragraph that contains example of string literal concatenation was placed after the section about concatenation using the '+' sign. Moved the paragraph to the appropriate section. (cherry picked from commit 78a5722ae950b80a4b3d13377957f3932195aef3)
* bpo-30466: Add brief explanation of classes to tutorial (GH-1804) (GH-2700)Trey Hunner2017-07-211-0/+6
|
* Clarification to the `break` statement (GH-2453) (#GH-2457)regexaurus2017-06-281-1/+1
| | | | Clarify that the break statement breaks out of the innermost enclosing for or while loop. (cherry picked from commit 36fc896740319d2c03aa2054a90a999c162517ef)
* bpo-6519: Improve Python Input Output Tutorial (GH-2143) (GH-2145)Mariatta2017-06-131-21/+29
| | | | Move up the discussion about 'with' keyword, so it appears earlier in the document. (cherry picked from commit bd4e9e0ca96dabf33605d9b1fd1e0562ece8ae18)
* bpo-30621: Update Input Output Tutorial Example(GH-2074) (GH-2118)Mariatta2017-06-121-0/+1
| | | | import json before using json module (cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
* bpo-30312: Small correction in datastructures set code sample (GH-2081) ↵KatherineMichel2017-06-101-1/+1
| | | | | (GH-2085) (cherry picked from commit ca816153445cba3baec15f7e890c71abfe495340)
* [3.6] bpo-30361: Use better example for mixed-type operands (GH-1701) (#1856)Mariatta2017-05-291-4/+2
| | | (cherry picked from commit e405d4b8dfb8b497e1c3d1f0f8e28030040c165e)
* [3.6] bpo-28315: Improve code examples in docs (GH-1372) (#1445)Mariatta2017-05-044-4/+4
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* Fix small typos in introduction and datastructures of tutorial (GH-272) (GH-297)Mariatta2017-02-262-5/+5
| | | (cherry picked from commit 53c1892dc3de1de612b1cf95dc7bf09f82c1babf)
* bpo-29453: Remove reference to undefined dictionary ordering in Tutorial ↵Mariatta2017-02-211-6/+5
| | | | | | | | | | (GH-140) (#208) 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 (cherry picked from commit 32e8f9bdfd4324f1aa4fbbdf1ed8536f2b00cabb)
* Issue #29381: Clarify ordering of UNIX shebang line as source encoding lineMariatta Wijaya2017-02-021-11/+10
|
* Backed out changeset 3d712292f2faMariatta Wijaya2017-02-021-14/+15
|
* Issue #29381: Clarify ordering of UNIX shebang line as source encoding lineMariatta Wijaya2017-02-021-15/+14
|
* Merge: #29005: clarify terminology in tutorial 'method' discussion.R David Murray2016-12-181-3/+2
|\
| * #29005: clarify terminology in tutorial 'method' discussion.R David Murray2016-12-181-3/+2
| | | | | | | | Patch by Jim Fasarakis-Hilliard.
* | Issue #28820: Merge spelling fixes from 3.5Martin Panter2016-12-101-1/+1
|\ \ | |/
| * Issue #28820: Fix spelling of “practice” as a nounMartin Panter2016-12-101-1/+1
| |
* | Fixed mismatching title overline.Serhiy Storchaka2016-12-041-1/+1
|\ \ | |/
| * Fixed mismatching title overline.Serhiy Storchaka2016-12-041-1/+1
| |
* | Fixed double hyphens that are rendered to literal en-dashes in the documenation.Serhiy Storchaka2016-12-041-2/+2
|\ \ | |/
| * Fixed double hyphens that are rendered to literal en-dashes in the documenation.Serhiy Storchaka2016-12-041-2/+2
| |
* | Issue #28587: Improve list examples in the tutorialRaymond Hettinger2016-11-221-24/+20
| |
* | Issue 28587: list.index documentation missing start and stop arguments. ↵Raymond Hettinger2016-11-211-3/+10
| | | | | | | | (Contributed by Mariatta Wijaya.)
* | Closes #28713 uses OSError in the tutorialKushal Das2016-11-161-1/+1
| |
* | Issue #21864: Merge from 3.5Berker Peksag2016-11-062-50/+31
|\ \ | |/
| * Issue #21864: Remove outdated section about exceptions from the tutorialBerker Peksag2016-11-062-50/+31
| | | | | | | | | | Move the still relevant parts of it to the previous chapter, "Errors and Exceptions".
* | Merge with 3.5Terry Jan Reedy2016-09-301-8/+8
|\ \ | |/
| * Issue #28815: Change '?' to '<module>' in some doc examples.Terry Jan Reedy2016-09-301-8/+8
| | | | | | | | Patch by Mariatta Wijaya.
* | Issue #28306: Merge from 3.5Berker Peksag2016-09-281-1/+1
|\ \ | |/
| * Issue #28306: Update exception message of ZeroDivisionErrorBerker Peksag2016-09-281-1/+1
| |
* | mergeRaymond Hettinger2016-08-121-23/+1
|\ \ | |/
| * Issue 27719: Remove a doc example that is not applicable in Python 3Raymond Hettinger2016-08-121-23/+1
| |
* | Closes #27206: Merge with 3.5Zachary Ware2016-08-091-0/+4
|\ \ | |/
| * Issue #27206: Fix doctests in Doc/tutorial.Zachary Ware2016-08-091-0/+4
| | | | | | | | Patch by Jelle Zijlstra.
* | Issue #26462: Merge code block fixes from 3.5Martin Panter2016-07-293-3/+9
|\ \ | |/
| * Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-263-3/+9
| | | | | | | | Patch by Julien Palard.
* | Issue #27285: Document the deprecation of the pyvenv script.Brett Cannon2016-07-081-49/+62
| | | | | | | | | | | | | | | | | | As part of the update, the documentation was updated to normalize around the term "virtual environment" instead of relying too heavily on "venv" for the same meaning and leading to inconsistent usage of either. Thanks to Steve Piercy for the patch.
* | Issue #24314: Merge doc links from 3.5Martin Panter2016-06-181-2/+2
|\ \ | |/
| * Issue #24314: Fix doc links for general attributes like __name__, __dict__Martin Panter2016-06-181-2/+2
| |
* | Issue #23116: Merge from 3.5Berker Peksag2016-06-021-3/+3
|\ \ | |/
| * Issue #23116: Improve ask_ok() example in the Python tutorialBerker Peksag2016-06-021-3/+3
| |
* | Issue #27178: Fix markup in tutorialBerker Peksag2016-06-011-1/+1
| | | | | | | | Patch by Nathan Harold.
* | Issue #27174: Merge from 3.5Berker Peksag2016-06-011-1/+1
|\ \ | |/
| * Issue #27174: Update IPython URL in tutorialBerker Peksag2016-06-011-1/+1
| |
* | Merge from 3.5Berker Peksag2016-06-011-1/+1
|\ \ | |/
| * Fix typo in Python tutorialBerker Peksag2016-06-011-1/+1
| |
* | Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-109-20/+31
|\ \ | |/ | | | | Original patch by James Edwards.
| * Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-109-20/+31
| | | | | | | | Original patch by James Edwards.
* | Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-074-5/+5
|\ \ | |/
| * Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-074-5/+5
| |