summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* Add a reference to the name mangling description in the tutorial to the ↵Miss Islington (bot)2018-11-071-0/+3
| | | | | | | index. (GH-10138) (cherry picked from commit c5eec4426d9144b2255500217d0e3ff9463d2770) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Fix a typo about a comma. (GH-10306)Miss Islington (bot)2018-11-031-1/+1
| | | | | (cherry picked from commit fe62d877e300e1ee4145fff8f2bdba498b685f91) Co-authored-by: İsmail Arılık <arilik.ismail@gmail.com>
* bpo-21196: Clarify name mangling rules in tutorial (GH-5667)Miss Islington (bot)2018-10-201-0/+5
| | | | | | Initial patch by Chandan Kumar. (cherry picked from commit 13ae4d44381a647aadd09b70b24833052659be41) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208)Miss Islington (bot)2018-07-251-2/+2
| | | | | (cherry picked from commit c0f0a7669c73c0d444851dd4c5299de2479214cc) Co-authored-by: Aaron Ang <aaronang@users.noreply.github.com>
* bpo-33892: Doc: Use gender neutral words (GH-7770)Andrés Delfino2018-06-181-10/+10
| | | | | (cherry picked from commit 5092439c2cb32112a5869b138011d38491db90a9) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] bpo-33503: Fix the broken pypi link in the source and the ↵Stéphane Wirtel2018-05-161-1/+1
| | | | | | | documentation (GH-6814). (GH-6905) (cherry picked from commit 19177fbd5d6d9b29ccc302d65f9d9417ece082ce) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* [2.7] bpo-13525: Fix incorrect encoding name in the tutorial example. ↵Serhiy Storchaka2018-05-091-2/+2
| | | | | | (GH-6738). (GH-6744) (cherry picked from commit ddb6215a55b0218b621d5cb755e9dfac8dab231a)
* [2.7] bpo-33297: Mention Pillow to work with more image formats. (GH-6505) ↵Andrés Delfino2018-04-211-1/+1
| | | | | | | | (GH-6562) Also update PIL doc references to Pillow. (cherry picked from commit 'b81ca28b378c8b29204a37f8bd433a3379f53f7d') Co-authored-by: 'Andrés Delfino.34587441+andresdelfino@users.noreply.github.com'
* bpo-32963: Fix the tutorial to state source has a default encoding of ASCII ↵Brett Cannon2018-03-021-8/+1
| | | | (GH-5961)
* [2.7] bpo-25059: Clarify the print separator usage in tutorial (GH-5879)Cheryl Sabella2018-02-251-1/+1
| | | | | By default `print` adds spaces between its arguments. (cherry picked from commit 84c4b0cc67ceb4b70842b78c718b6e8214874d6a)
* bpo-31454: Include information about "import X as Y" in Modules tutorial ↵Miss Islington (bot)2018-02-251-0/+19
| | | | | | | (GH-4041) (cherry picked from commit fbee88244e8921afdb29fde51a9a010a8ae18277) Co-authored-by: Mario Corchero <mariocj89@gmail.com>
* bpo-32452: clarify term 'brackets' in generator tutorial (GH-5079) (#5082)Miss Islington (bot)2018-01-021-3/+3
| | | | Updates documentation for generator expressions in classes tutorial: Clarify usage of ambiguous term "brackets" by replacing with "square brackets". Updated subsequent lines to respect line breaks. (GH-5079) (cherry picked from commit f190eb59e60e2ae7a7cbd396458389a7a076e0d3)
* Improve the String tutorial docs (GH-4541) (GH-4546)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)
* 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
|