summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* Clarification to the `break` statement (GH-2453) (GH-2458)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-2146)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-2119)Mariatta2017-06-121-0/+1
| | | | import json before using json module (cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
* [3.5] bpo-30361: Use better example for mixed-type operands (GH-1701) (#1857)Mariatta2017-05-291-4/+2
| | | (cherry picked from commit e405d4b8dfb8b497e1c3d1f0f8e28030040c165e)
* [3.5] bpo-28315: Improve code examples in docs (GH-1372) (#1446)Mariatta2017-05-044-4/+4
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* [3.5] Fix small typos in introduction and datastructures of tutorial ↵Mariatta2017-02-262-29/+32
| | | | | | | (GH-272) (GH-299) (cherry picked from commit 5bd5b9d81322d2cb6edd5f3804a347f8b2e65a15) (cherry picked from commit 8c5e190d360b9f1a08c9fff249ae80d9c18007d5) (cherry picked from commit 53c1892dc3de1de612b1cf95dc7bf09f82c1babf)
* #29005: clarify terminology in tutorial 'method' discussion.R David Murray2016-12-181-3/+2
| | | | Patch by Jim Fasarakis-Hilliard.
* 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 double hyphens that are rendered to literal en-dashes in the documenation.Serhiy Storchaka2016-12-041-2/+2
|
* 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".
* Issue #28815: Change '?' to '<module>' in some doc examples.Terry Jan Reedy2016-09-301-8/+8
| | | | Patch by Mariatta Wijaya.
* Issue #28306: Update exception message of ZeroDivisionErrorBerker Peksag2016-09-281-1/+1
|
* Issue 27719: Remove a doc example that is not applicable in Python 3Raymond Hettinger2016-08-121-23/+1
|
* Issue #27206: Fix doctests in Doc/tutorial.Zachary Ware2016-08-091-0/+4
| | | | Patch by Jelle Zijlstra.
* Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-263-3/+9
| | | | Patch by Julien Palard.
* Issue #24314: Fix doc links for general attributes like __name__, __dict__Martin Panter2016-06-181-2/+2
|
* Issue #23116: Improve ask_ok() example in the Python tutorialBerker Peksag2016-06-021-3/+3
|
* Issue #27174: Update IPython URL in tutorialBerker 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 #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-074-5/+5
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-171-1/+1
|
* Update example; str(float) changed so there is difference now.Georg Brandl2016-02-221-5/+5
|
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-081-3/+2
| | | | | | | | | * Various sections were pointing to the section on the string.Formatter class, when the section on the common format string syntax is probably more appropriate * Fix references to various format() functions and methods * Nested replacement fields may contain conversions and format specifiers, and this is tested; see Issue #19729 for instance
* Issue26135 - In the tutorial section on modules, reference importlib.reload ↵Senthil Kumaran2016-01-171-1/+2
| | | | instead of imp.reload.
* #26001: mention in the tutorial that files in binary mode expect bytes, not str.Ezio Melotti2016-01-121-7/+8
|
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-022-2/+2
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-022-2/+2
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-122-2/+2
|\ \ | |/ | | | | Fixed the case of the "Ctrl-" prefixes.
| * Marked keystrokes with the :kbd: role.Serhiy Storchaka2015-09-122-2/+2
| | | | | | | | Fixed the case of the "Ctrl-" prefixes.
* | Improve tutorial suggestion for looping techniquesRaymond Hettinger2015-09-011-11/+11
| |
* | Merge with 3.4 for Issue #24729Jason R. Coombs2015-07-291-3/+3
|\ \ | |/
| * Issue #24729: Correct reference to open function.Jason R. Coombs2015-07-291-2/+2
| |
| * Issue #24729: Update tutorial to match implementation.Alessandro Cucci2015-07-281-3/+3
| |
* | Merge from 3.4Tal Einat2015-06-091-3/+3
|\ \ | |/
| * #23891: correctly refer to PyPI as "Python Package Index"Tal Einat2015-06-091-3/+3
| |
* | Merge from 3.4Andrew Kuchling2015-06-081-1/+1
|\ \ | |/
| * #23891: remove extra wordsAndrew Kuchling2015-06-081-1/+1
| |
* | Merge from 3.4Andrew Kuchling2015-06-082-0/+198
|\ \ | |/
| * #23891: add a section to the Tutorial describing virtual environments and pipAndrew Kuchling2015-06-082-0/+198
| |
* | Merge from 3.4Andrew Kuchling2015-06-082-15/+32
|\ \ | |/
| * Add link to pyvideoorgAndrew Kuchling2015-06-071-0/+3
| |
| * #23891: rework discussion of python-list a bitAndrew Kuchling2015-06-071-8/+5
| |
| * #23891: describe a few more modules in the tutorialAndrew Kuchling2015-04-101-7/+24
| |
* | Reverting my previous commit.Yury Selivanov2015-05-303-9/+9
| | | | | | | | Something went horribly wrong when I was doing `hg rebase`.
* | More version bumping to 3.6.Ned Deily2015-05-283-9/+9
| | | | | | | | | | | | | | | | With the creation of the 3.5 branch earlier in the process, it is necessary to do some of the version bumps now rather than at final release time (for example, the equivalent of the 3.4->3.5 bumps in f2bf12fa22c1). (Some of those changes have already been made, for example in 30f5e7ec6afe.)
* | Remove UTF-8 BOMs.Serhiy Storchaka2015-05-251-1/+1
|\ \ | |/
| * Remove UTF-8 BOMs.Serhiy Storchaka2015-05-251-1/+1
| |
* | Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-6/+5
| | | | | | | | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.