Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-85583: Add f-string index in tutorial/inputoutput.rst (GH-21681) | amaajemyfren | 2024-10-30 | 1 | -0/+7 |
| | | | | | | | | | | | | * bpo-41411 fstring index in tutorial/inputoutput To assist in searching for fstrings I have added an index * Add newline --------- Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com> | ||||
* | docs: restore an anchor to for/else (#126154) | Ned Batchelder | 2024-10-30 | 1 | -0/+1 |
| | |||||
* | Fix a typo in ``Doc/tutorial/errors.rst`` exception output (#126001) | Bogdana Vereha | 2024-10-26 | 1 | -1/+1 |
| | |||||
* | gh-125615: Fix grammar nit in tutorial's interactive interpreter appendix ↵ | Cornelius Roemer | 2024-10-16 | 1 | -1/+1 |
| | | | | | (GH-125617) Replace "without ... nor" with "with neither ... nor" | ||||
* | gh-125403: fix console formatting in Chapter 12 of the tutorial (#125404) | partev | 2024-10-13 | 1 | -8/+8 |
| | |||||
* | gh-125383: Update `fib` function comment for accuracy (#125386) | Wulian | 2024-10-13 | 1 | -2/+2 |
| | | | `Doc/tutorial/controlflow.rst`: fix comment for `fib` function | ||||
* | Prefer "similar" over "equivalent" in tutorial (#125343) | Stephen Rosen | 2024-10-12 | 1 | -4/+4 |
| | | | | | | | | | | | In the datastructures tutorial doc, some operations are described as "equivalent to" others. This has led to some user-confusion -- at least in the Discourse forums -- about cases in which the operations differ. This change doesn't systematically eliminate the word "equivalent" from the tutorial. It just substitutes "similar to" in several cases in which "equivalent to" could mislead users into expecting exact equivalence. | ||||
* | Doc: Fix a typo in "Function Examples" in the control-flow tutorial (#125338) | Rafael Fontenelle | 2024-10-12 | 1 | -1/+1 |
| | |||||
* | gh-101100: Consolidate documentation on `ModuleType` attributes (#124709) | Alex Waygood | 2024-10-09 | 1 | -2/+3 |
| | | | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Barry Warsaw <barry@python.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | Docs: make a tutorial example more precise (#125066) | Ned Batchelder | 2024-10-07 | 1 | -11/+9 |
| | | | | | Based on discussion here: https://discuss.python.org/t/omission-in-the-documentation/66816 | ||||
* | Docs: for for/else clarify that return or raise also skip the else (#124591) | Ned Batchelder | 2024-09-27 | 1 | -2/+4 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | For-else deserves its own section in the tutorial (#123946) | Ned Batchelder | 2024-09-25 | 1 | -31/+54 |
| | | | | | | | | | | | | | * For-else deserves its own section in the tutorial * remove mention of unrolling the loop * Update Doc/tutorial/controlflow.rst Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> --------- Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-101100: Add a table of class attributes to the "Custom classes" section ↵ | Alex Waygood | 2024-09-25 | 1 | -3/+3 |
| | | | | of the data model docs (#124480) | ||||
* | Update to 3.13 the output of exceptions raised (#123888) | Rafael Fontenelle | 2024-09-13 | 1 | -3/+42 |
| | |||||
* | gh-123492: Remove unnecessary `:func:` parentheses (#123493) | Wei-Hsiang (Matt) Wang | 2024-08-30 | 1 | -1/+1 |
| | |||||
* | GH-109975: Copyedit 3.13 What's New: New Features (#122990) | Adam Turner | 2024-08-15 | 1 | -2/+2 |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandtbucher@gmail.com> | ||||
* | gh-122944: Fix incorrect prompt strings in the Python Tutorial (#122949) | Damien | 2024-08-12 | 4 | -10/+10 |
| | | | | In the REPL, top level comments are followed by a primary, not secondary prompt. Fix the places in the in the tutorial that use the latter. | ||||
* | gh-121905: Consistently use "floating-point" instead of "floating point" ↵ | Serhiy Storchaka | 2024-07-19 | 4 | -9/+9 |
| | | | | (GH-121907) | ||||
* | gh-120452: improve documentation about private name mangling (#120451) | Bénédikt Tran | 2024-07-13 | 1 | -0/+5 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-120345: Fix incorrect use of the :class: role with the "()" suffix ↵ | Serhiy Storchaka | 2024-06-12 | 1 | -2/+2 |
| | | | | | | | (GH-120347) * Remove "()" when refer to a class as a type. * Use :func: when refer to a callable. * Fix reference to the datetime.astimezone() method. | ||||
* | gh-110383: Improve 'old string formatting' text in tutorial (#120219) | Erlend E. Aasland | 2024-06-07 | 1 | -3/+5 |
| | |||||
* | gh-119016: Remove outdated sentences from the "classes" tutorial (#119130) | Nice Zombies | 2024-06-01 | 1 | -5/+1 |
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | docs: fix a few typos identified by codespell (#119516) | Ned Batchelder | 2024-05-26 | 1 | -1/+1 |
| | |||||
* | GH-110383: Improve Tutorial for Input Ouput (#119230) | Blaise Pabon | 2024-05-21 | 1 | -4/+16 |
| | | | | Co-authored-by: edson duarte <eduarte.uatach@gmail.com> | ||||
* | gh-119078: Clarify venv tutorial (GH-119129) | Nice Zombies | 2024-05-18 | 1 | -4/+4 |
| | |||||
* | Format None, True, False and NotImplemented as literals (GH-118758) | Serhiy Storchaka | 2024-05-08 | 1 | -1/+1 |
| | |||||
* | Python 3.14.0a0 | Thomas Wouters | 2024-05-08 | 3 | -5/+5 |
| | |||||
* | Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612) | Kerim Kabirov | 2024-05-07 | 1 | -2/+2 |
| | |||||
* | gh-111201: A new Python REPL (GH-111567) | Pablo Galindo Salgado | 2024-05-05 | 1 | -0/+22 |
| | | | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Marta Gómez Macías <mgmacias@google.com> Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | Add 'The Python 2.3 Method Resolution Order' (#116435) | Hugo van Kemenade | 2024-04-15 | 1 | -1/+1 |
| | |||||
* | gh-117597: Clarify exception handling in the tutorial (#117681) | Nice Zombies | 2024-04-09 | 1 | -3/+3 |
| | |||||
* | gh-116563: Update tutorial error example (#116569) | Terry Jan Reedy | 2024-03-11 | 1 | -4/+4 |
| | | | | | There now may be multiple carets pointing at a token rather than just a character. Fix the sentence about possible causes. | ||||
* | GH-116271 Docs: provide clarification for object assignments in the Tutorial ↵ | Kerim Kabirov | 2024-03-04 | 1 | -7/+24 |
| | | | | | | | section (#116283) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | Docs: Use substitutions instead of manual version updates (#115416) | Hugo van Kemenade | 2024-02-14 | 3 | -4/+4 |
| | |||||
* | gh-114648: Add IndexError exception to tutorial datastructures list.pop ↵ | srinivasan | 2024-02-01 | 1 | -4/+3 |
| | | | | | | entry (#114681) Remove redundant explanation of optional argument. | ||||
* | gh-114069: Revise Tutorial Methods paragraph (#114127) | Terry Jan Reedy | 2024-01-16 | 1 | -6/+5 |
| | | | Remove excess words in the first and third sentences. | ||||
* | Tutorial: Clarify 'nonzero exit status' in the appendix (#112039) | Andrew Zipperer | 2024-01-12 | 1 | -1/+1 |
| | |||||
* | gh-113208: Mention namespace packages don't require __init__.py (#113209) | Unique-Usman | 2023-12-19 | 1 | -1/+2 |
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-113113: doc: use less ambiguously named variable (gh-113114) | jeremy-dolan | 2023-12-14 | 1 | -3/+3 |
| | |||||
* | gh-101100: Improve documentation for attributes on instance methods (#112832) | Alex Waygood | 2023-12-08 | 1 | -2/+4 |
| | |||||
* | Fix link to 'The Perils of Floating Point', on the tutorial (GH-112499) | Marco Aurélio A. Barbosa | 2023-12-03 | 1 | -1/+1 |
| | | | Use author link to 'The Perils of Floating Point'. | ||||
* | gh-110383: Explained which error message is generated when there is an ↵ | Unique-Usman | 2023-11-19 | 1 | -2/+1 |
| | | | | | | unhandled exception (#111574) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | Add detail to comment on range of random.random() (gh-111868) | zipperer | 2023-11-09 | 1 | -1/+1 |
| | | | | | --------- Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> | ||||
* | gh-111406: Fix broken link to bpython's site (#111407) | Zack Cerza | 2023-10-27 | 1 | -1/+1 |
| | |||||
* | gh-101100: Fix Sphinx warning in `tutorial/introduction.rst` (#111173) | Maciej Olko | 2023-10-22 | 1 | -1/+1 |
| | |||||
* | gh-110534 fix a URL redirect to wikipedia article on Fibonacci numbers (#110535) | partev | 2023-10-09 | 1 | -1/+1 |
| | |||||
* | Update floatingpoint.rst (#110509) | zipperer | 2023-10-08 | 1 | -1/+1 |
| | | | | | | | | | | | This commit removes a ':'. I believe the extra colon causes a display error. What I believe to be an error: Above this expression `round(math.pi, ndigits=2) == round(22 / 7, ndigits=2)` the page displays `.. doctest::`. What I observed: After I remove the extra colon, the page does not display `.. doctest::` | ||||
* | gh-101100: Fix Sphinx warnings in `tutorial/controlflow.rst` (#109424) | Maciej Olko | 2023-09-29 | 1 | -2/+2 |
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | gh-101100: Fix sphinx warnings in `tutorial/appendix.rst` (#108750) | Nikita Sobolev | 2023-09-01 | 1 | -4/+4 |
| | | | Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | ||||
* | gh-101100: Fix sphinx warnings in `tutorial/classes.rst` (#108746) | Nikita Sobolev | 2023-09-01 | 1 | -1/+1 |
| |