summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* Clarification to the `break` statement (GH-2453) (GH-2459)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-30621: Update Input Output Tutorial Example(GH-2074) (GH-2120)Mariatta2017-06-121-0/+1
| | | | import json before using json module (cherry picked from commit 1dbce04d0e3e93b715eb0d8024da396361759d16)
* [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)Mariatta2017-05-044-4/+4
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* Remove redundant footnote (#181)Qingpeng "Q.P." Zhang2017-02-191-1/+1
| | | It was accidentally added in cc79837.
* Issue #29381: Clarify ordering of UNIX shebang line as source encoding lineMariatta Wijaya2017-02-021-29/+19
|
* 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 #28820: Fix spelling of “practice” as a nounMartin Panter2016-11-301-1/+1
|
* Issue #28815: Change '?' to '<module>' in some doc examples.Terry Jan Reedy2016-09-301-9/+9
| | | | Patch by Mariatta Wijaya.
* Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.Martin Panter2016-07-263-3/+9
| | | | Patch by Julien Palard.
* Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | 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 to fix the grammar.
* Issue #24314: Add links for general attributes like __name__, __dict__Martin Panter2016-06-181-2/+2
|
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-109-18/+26
| | | | Original patch by James Edwards.
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-072-2/+2
|
* Issue #26778: Fixed "a/an/and" typos in code comment and documentation.Serhiy Storchaka2016-04-172-2/+2
|
* Issue #25179: Preparatory cleanup of existing docs on string formattingMartin Panter2016-02-081-3/+2
| | | | | | | | | * There was a link pointing to the section on the string.Formatter class (and multiple links in Python 3), 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 in Python 3; see Issue #19729 for instance
* 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
|
* Fix minor docs markup errors.Serhiy Storchaka2015-03-141-3/+3
|
* remove parenthesis from print statement (closes #23396)Benjamin Peterson2015-02-051-1/+1
|
* Closes #23181: codepoint -> code pointGeorg Brandl2015-01-141-1/+1
|
* Issue #23070: Fix a comment in the tutorial.Berker Peksag2014-12-171-1/+1
| | | | | | "Python" has 6 characters, not 7. Reported by Ross Burnett.
* Issue #12602: Add missing cross-references to runpy and using/cmdline docs.Berker Peksag2014-12-101-0/+2
| | | | Patch by Éric Araujo.
* Fix description.Georg Brandl2014-11-141-1/+1
|
* Closes #22868: make example less ambiguous.Georg Brandl2014-11-141-3/+3
|
* minor grammar fixes (from docs@python.org)Georg Brandl2014-10-311-2/+2
|
* Fixing broken links in doc, part 3: the restGeorg Brandl2014-10-291-2/+2
|
* Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-293-6/+6
|
* Issue #16827: Make Interpreter introduction section of the tutorial moreSenthil Kumaran2014-09-183-111/+128
| | | | | | | focussed and move advanced section and customization information to a separate file called appendix. Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.
* Issue #20643: Fixed references to the next() method (distinguish from theSerhiy Storchaka2014-09-051-5/+5
| | | | next() function).
* Fix grammarAndrew Svetlov2014-07-241-1/+1
|
* Issue #14097: Backport 796d1371605d and subsequent changes.Zachary Ware2014-07-011-289/+267
| | | | | The 2.7 tutorial introduction now matches the 3.x introduction as rewritten by Ezio Melotti, with appropriate changes for 2.x.
* Issue #11974: Add tutorial section on class and instance variablesRaymond Hettinger2014-06-241-0/+71
| | | | (Based on a patch from Renee Chu.)
* Issue 21575: Show list.sort() arguments in the tutorial.Raymond Hettinger2014-05-271-2/+3
|
* Issue #21545: Add .pop example and tweak comment about pure mutation methods.Terry Jan Reedy2014-05-231-0/+9
| | | | Patch prepared by David Harrigan.
* Issue #18840: Introduce the json module in the tutorial, and deemphasize the ↵Antoine Pitrou2013-12-051-30/+47
| | | | pickle module.
* Fix indentation in doc example.Ezio Melotti2013-11-171-5/+5
|
* Issue #19193: Improved cross-references in the tutorial.Serhiy Storchaka2013-10-092-33/+38
|
* Fix typo in example file name. Found by John Bokma on docs@.Georg Brandl2013-10-061-1/+1
|
* Small logical fix in filter() example description.Georg Brandl2013-10-061-1/+1
|
* Clarify section about source code encoding.Georg Brandl2013-10-061-2/+2
|
* Fix merging mistake: wrong Python version.Georg Brandl2013-10-061-1/+1
|
* Fix wrong Python highlighting in directory hierarchy code block.Georg Brandl2013-10-061-1/+3
|
* Use "lambda expression" as preferred to "lambda form".Georg Brandl2013-10-061-1/+1
|
* Closes #18646: improve lambda docs in tutorial. Original patch by Terry Reedy.Georg Brandl2013-10-061-11/+18
|
* Issue #18031: %-formatting isn't dead yet and might pull through.Raymond Hettinger2013-05-231-4/+0
|
* #15575: Clarify tutorial description of when modules are executed.R David Murray2013-04-211-1/+2
|
* #13510: clarify that f.readlines() is note necessary to iterate over a file. ↵Ezio Melotti2013-04-151-15/+4
| | | | Patch by Dan Riti.
* Clarify that the function *definition* creates the function and the binding ↵Georg Brandl2013-04-141-2/+2
| | | | in the module globals.
* Modernize unittest exampleRaymond Hettinger2013-03-221-2/+4
|