Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [3.12] gh-101100: Fix sphinx warnings in `tutorial/classes.rst` (GH-108746) ↵ | Miss Islington (bot) | 2023-09-01 | 1 | -1/+1 |
| | | | | | | | | (#108756) gh-101100: Fix sphinx warnings in `tutorial/classes.rst` (GH-108746) (cherry picked from commit e775601ef1ada83a80e1539d0bcd5509deadee14) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> | ||||
* | [3.12] Improve references in the tutorial (GH-108069) (#108203) | Miss Islington (bot) | 2023-08-21 | 1 | -21/+22 |
| | | | | | | | | | | 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. (cherry picked from commit 622ddc41674c2566062af82f7b079aa01d2aae8c) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | GH-97950: Use new-style index directive ('object') (#104158) | Adam Turner | 2023-05-04 | 1 | -1/+1 |
| | | | | | | | | | | | * Uncomment object removal in pairindextypes * Use new-style index directive ('object') - C API * Use new-style index directive ('object') - Library * Use new-style index directive ('object') - Reference * Use new-style index directive ('object') - Tutorial | ||||
* | gh-100633 Tutorial: Fix dataclasses import (#100638) | Owain Davies | 2022-12-31 | 1 | -1/+1 |
| | | | import dataclass not dataclasses from dataclasses | ||||
* | gh-99908: Tutorial: Modernize the 'data-record class' example (#100499) | JosephSBoyle | 2022-12-24 | 1 | -9/+15 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-70393: Clarify mention of "middle" scope (#98839) | Shantanu | 2022-12-12 | 1 | -2/+2 |
| | |||||
* | gh-73196: Add namespace/scope clarification for inheritance section (#92840) | Stanley | 2022-10-07 | 1 | -1/+2 |
| | | | Add namespace/scope clarification for inheritance section | ||||
* | Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵ | Ned Batchelder | 2022-07-05 | 1 | -1/+1 |
| | | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021 | ||||
* | gh-89158: Add some REPL secondary prompt markers (#93073) | Nicolas Haller | 2022-05-23 | 1 | -3/+3 |
| | | | | This fixes an issue on tutorial/classes.rst section 9.4 where the example "class Warehouse" was truncated when pressing the >>> button to hide the prompts and output. | ||||
* | Fix the output of built-in iter() function example in Iterators (Section ↵ | Vivek Vashist | 2021-12-16 | 1 | -1/+1 |
| | | | | | 9.8) of The Python Tutorial (GH-30110) Updated the output for it=iter(s) from <iterator object at 0x00A1DB50> to <str_iterator object at 0x10c90e650> | ||||
* | bpo-40204: Fix reference to terms in the doc (GH-21865) | Victor Stinner | 2020-08-14 | 1 | -1/+1 |
| | | | | | | | | Sphinx 3 requires to refer to terms with the exact case. For example, fix the Sphinx 3 warning: Doc/library/pkgutil.rst:71: WARNING: term Loader not found in case sensitive match.made a reference to loader instead. | ||||
* | Fix repeated words in Classes tutorial (GH-21455) | Paul McMillan | 2020-07-14 | 1 | -2/+2 |
| | | | | | The phrase "At any time during execution," was repeated twice. Automerge-Triggered-By: @Mariatta | ||||
* | bpo-26205: Specify the number of nested scopes (GH-21324) | Joannah Nanjekye | 2020-07-06 | 1 | -2/+2 |
| | | | | | | | | | * Clarify number of scopes * Indicate 3 or 4 Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) | Antoine | 2020-03-10 | 1 | -1/+1 |
| | |||||
* | bpo-39431: Also mention nonlocal in assignment quirk (GH-17375) | Shanavas M | 2020-01-23 | 1 | -4/+4 |
| | |||||
* | bpo-12634: Clarify an awkward section of the tutorial (GH-15406) | Raymond Hettinger | 2019-08-23 | 1 | -6/+14 |
| | |||||
* | bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) | Serhiy Storchaka | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | Add a reference to the name mangling description in the tutorial to the ↵ | Andrés Delfino | 2018-11-07 | 1 | -0/+3 |
| | | | | index. (GH-10138) | ||||
* | bpo-21196: Clarify name mangling rules in tutorial (GH-5667) | Berker Peksag | 2018-10-20 | 1 | -0/+5 |
| | | | Initial patch by Chandan Kumar. | ||||
* | bpo-28677: Improve phrasing of when instance attribute is referenced (GH-6208) | Aaron Ang | 2018-07-25 | 1 | -2/+2 |
| | |||||
* | bpo-32722: Remove useless example in the Classes tutorial (#5446) | Stéphane Wirtel | 2018-02-01 | 1 | -4/+1 |
| | | | | | In the tutorial about the Generator expression, there is an example with a dict comprehension and not with a generator expression, just removed the code. | ||||
* | bpo-32452: clarify term 'brackets' in generator tutorial (#5079) | Emily Morehouse | 2018-01-02 | 1 | -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. (#5079) | ||||
* | bpo-30466: Add brief explanation of classes to tutorial (GH-1804) | Trey Hunner | 2017-07-13 | 1 | -0/+6 |
| | |||||
* | bpo-28315: Improve code examples in docs (GH-1372) | UltimateCoder | 2017-05-03 | 1 | -1/+1 |
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> | ||||
* | #29005: clarify terminology in tutorial 'method' discussion. | R David Murray | 2016-12-18 | 1 | -3/+2 |
| | | | | Patch by Jim Fasarakis-Hilliard. | ||||
* | Issue #21864: Remove outdated section about exceptions from the tutorial | Berker Peksag | 2016-11-06 | 1 | -49/+0 |
| | | | | | Move the still relevant parts of it to the previous chapter, "Errors and Exceptions". | ||||
* | Issue #24314: Fix doc links for general attributes like __name__, __dict__ | Martin Panter | 2016-06-18 | 1 | -2/+2 |
| | |||||
* | Fix typo in Python tutorial | Berker Peksag | 2016-06-01 | 1 | -1/+1 |
| | |||||
* | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 1 | -1/+11 |
| | | | | Original patch by James Edwards. | ||||
* | minor grammar fixes (from docs@python.org) | Georg Brandl | 2014-10-31 | 1 | -2/+2 |
| | |||||
* | Use https:// URLs when referring to python.org hosts. | Georg Brandl | 2014-10-29 | 1 | -1/+1 |
| | |||||
* | #22170: avoid printing newlines twice in tutorial example. | Ezio Melotti | 2014-08-08 | 1 | -1/+1 |
| | |||||
* | Issue #11974: Add tutorial section on class and instance variables | Raymond Hettinger | 2014-06-24 | 1 | -0/+71 |
| | | | | (Based on a patch from Renee Chu.) | ||||
* | Issue #19193: Improved cross-references in the tutorial. | Serhiy Storchaka | 2013-10-09 | 1 | -3/+3 |
| | |||||
* | Remove newline in method that makes it possible to copy example to the ↵ | Georg Brandl | 2013-10-06 | 1 | -1/+0 |
| | | | | interactive interpreter. | ||||
* | merge 3.2 | Benjamin Peterson | 2012-10-12 | 1 | -9/+9 |
|\ | |||||
| * | Fix links to the __next__ method. | Ezio Melotti | 2012-10-12 | 1 | -9/+9 |
| | | |||||
| * | Fix closes Issue: 14217 - 3.2 branch | Senthil Kumaran | 2012-03-09 | 1 | -1/+4 |
| | | |||||
* | | Fix closes Issue: 14217 - Appropriate sphinx directive for output. Patch by ↵ | Senthil Kumaran | 2012-03-09 | 1 | -1/+3 |
| | | | | | | | | Tshepang Lekhonkhobe | ||||
* | | Merge with 3.2 | Terry Jan Reedy | 2012-01-11 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Minor correction. #11418 | Terry Jan Reedy | 2012-01-11 | 1 | -2/+2 |
| | | |||||
* | | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes) | Éric Araujo | 2011-07-29 | 1 | -14/+14 |
|\ \ | |/ | |||||
| * | Make indentation comply with our style guide and the rest of the file | Éric Araujo | 2011-07-26 | 1 | -14/+14 |
| | | |||||
* | | Issue 12086: add example showing how to use name mangling. | Raymond Hettinger | 2011-06-25 | 1 | -0/+22 |
|\ \ | |/ | |||||
| * | Issue 12086: add example showing how to use name mangling. | Raymond Hettinger | 2011-06-25 | 1 | -0/+22 |
| | | |||||
* | | merge with 3.2 | Georg Brandl | 2011-05-01 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Split combined code/doctest code blocks in two blocks, to enable proper ↵ | Georg Brandl | 2011-05-01 | 1 | -2/+5 |
| | | | | | | | | highlighting. | ||||
* | | Split combined code/doctest code blocks in two blocks, to enable proper ↵ | Georg Brandl | 2011-05-01 | 1 | -0/+4 |
| | | | | | | | | highlighting. | ||||
* | | Name c -> cls in example. | Georg Brandl | 2011-03-07 | 1 | -2/+2 |
|/ | |||||
* | #9138: reword introduction to classes in Python. | Georg Brandl | 2010-10-17 | 1 | -16/+16 |
| |