Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-38623: Add note about site module (site-packages) (GH-16974) | Peter Bittner | 2021-09-23 | 1 | -1/+2 |
| | |||||
* | bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) | Serhiy Storchaka | 2021-09-22 | 1 | -1/+1 |
| | | | | | | | Replace old names when they refer to actual versions of macOS. Keep historical names in references to older versions. Co-authored-by: Patrick Reader <_@pxeger.com> | ||||
* | bpo-39452: Rewrite and expand __main__.rst (#26883) | Jack DeVries | 2021-08-24 | 1 | -0/+2 |
| | | | | | | | Broadened scope of the document to explicitly discuss and differentiate between ``__main__.py`` in packages versus the ``__name__ == '__main__'`` expression (and the idioms that surround it), as well as ``import __main__``. Co-authored-by: Géry Ogam <gery.ogam@gmail.com> Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-44966: Fix out-of-date traceback message (GH-27867) | Raymond Hettinger | 2021-08-21 | 1 | -1/+1 |
| | |||||
* | introduce omitted index default before using it (GH-27775) | Jefferson Oliveira | 2021-08-17 | 1 | -8/+8 |
| | |||||
* | bpo-44907: Update error messages in tutorial examples (GH-27755) | meowmeowmeowcat | 2021-08-13 | 1 | -3/+3 |
| | |||||
* | bpo-41576: document BaseException in favor of bare except (GH-21917) | Thomas Grainger | 2021-08-06 | 1 | -8/+9 |
| | |||||
* | bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) | Mariusz Felisiak | 2021-07-26 | 3 | -4/+4 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | bpo-40620: Clarify tutorial controlflow.rst ``range`` examples (GH-26919) | jdevries3133 | 2021-06-27 | 1 | -14/+8 |
| | |||||
* | bpo-43927: Change 'IOError' to 'OSError' (GH-26289) | Terry Jan Reedy | 2021-05-21 | 1 | -1/+1 |
| | | | This is the last remaining instance, at least for this chapter, in 3.10 & 3.11. | ||||
* | bpo-35765: Clarify references to "object x" in the JSON tutorial (GH-22411) | Zackery Spytz | 2021-05-18 | 1 | -1/+2 |
| | |||||
* | bpo-43729: Clarify comment in tutorial example (GH-25191) | Erlend Egeberg Aasland | 2021-05-14 | 1 | -1/+1 |
| | |||||
* | bpo-40640: doc -- add missing ... in example of Continue (#26055) | Irit Katriel | 2021-05-12 | 1 | -0/+1 |
| | | | Co-authored-by: Chas Belov <59780179+ChasBelov@users.noreply.github.com> | ||||
* | bpo-32822: Add finally with return/break/continue to the tutorial (#25600) | Roberto Hueso | 2021-05-04 | 1 | -0/+4 |
| | | | | | This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement. | ||||
* | Python 3.11.0a0 | Pablo Galindo | 2021-05-03 | 3 | -8/+8 |
| | |||||
* | bpo-42589: Change URL for 'from' link when used in a raised exception (GH-23872) | sblondon | 2021-04-29 | 1 | -1/+1 |
| | | | | | Links for 'raise Exception from x' target to 'The raise statement' (7.8) section instead of 'The import statement' (7.11) section. There are more modified links than in the bug report because I searched some other ones which can get the same improvement. | ||||
* | bpo-43777: Drop description of "pip search" command from tutorial (GH-25287) | Bob Kline | 2021-04-14 | 1 | -13/+2 |
| | |||||
* | bpo-43325: Add FAQ entry for identity tests (GH-25168) | Raymond Hettinger | 2021-04-04 | 1 | -3/+2 |
| | |||||
* | bpo-39231: correct tutorial annotations section (GH-25029) | Irit Katriel | 2021-03-27 | 1 | -1/+1 |
| | |||||
* | bpo-43319: Fixed the tutorial on venv about standard library (GH-24740) | cmhzc | 2021-03-07 | 1 | -1/+1 |
| | | | | | | | | | In the [official tutorial on virtual environment](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments) > This will create the tutorial-env directory if it doesn’t exist, and also create directories inside it containing a copy of the Python interpreter, **the standard library**, and various supporting files. According to the actual behavior of `venv` and [PEP 405](https://www.python.org/dev/peps/pep-0405/#id15)'s description about virtual environment, no standard library file is included in the virtual environment's directory. Automerge-Triggered-By: GH:vsajip | ||||
* | bpo-42128: Add documentation for pattern matching (PEP 634) (#24664) | Daniel F Moisset | 2021-03-01 | 1 | -0/+169 |
| | | | | | | | | | This is a first edition, ready to go out with the implementation. We'll iterate during the rest of the period leading up to 3.10.0. Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandt@python.org> Co-authored-by: Raymond Hettinger <1623689+rhettinger@users.noreply.github.com> Co-authored-by: Guido van Rossum <guido@python.org> | ||||
* | bpo-43042: Augment tutorial sentence (GH-24514) | Terry Jan Reedy | 2021-02-20 | 1 | -1/+2 |
| | | | Calling same function also gets new local namespace. | ||||
* | Doc: errors tutorial improvements (GH-16269) | Adorilson Bezerra | 2021-01-31 | 1 | -21/+21 |
| | | | | | | | | | | | Improvements: - Improvements in how try clause works section This suggestion is because the execution continues after *except*, not after *try* but before *except*. I guess this form more clear. - Surrounding some keywords with \*...\* For uniformity the highlighted terms - Adjust the number of chars per line to 80 | ||||
* | bpo-42179: Clarify exception chaining (GH-23160) | Vladimir | 2020-12-16 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | * Update errors.rst Clarify exception chaining behaviour and give a reference to the library documentation. * Update errors.rst Wording * Update errors.rst Spelling * Update errors.rst Remove mentioning of special attributes as folks think it's too much for beginners. | ||||
* | bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) | Zackery Spytz | 2020-11-28 | 1 | -1/+1 |
| | |||||
* | bpo-17852: Doc: Fix the tutorial about closing files (GH-23135) | Volker-Weissmann | 2020-11-27 | 1 | -5/+10 |
| | | | Co-authored-by: Inada Naoki <songofacandy@gmail.com> | ||||
* | bpo-42179: Doc/tutorial: Remove mention of __cause__ (GH-23162) | Inada Naoki | 2020-11-06 | 1 | -9/+10 |
| | |||||
* | [doc] Update references to NumPy (GH-22458) | Andre Delfino | 2020-10-01 | 1 | -1/+1 |
| | | | Numeric(al) Python to NumPy. It seems the old name hasn't been used for some time. | ||||
* | Revert "Fix all Python Cookbook links (#22205)" (GH-22424) | Andre Delfino | 2020-09-27 | 1 | -1/+1 |
| | | | This commit reverts commit ac0333e1e117b7f61ed7ef1dbcdb6e515ada603b as the original links are working again and they provide extended features such as comments and alternative versions. | ||||
* | Fix all Python Cookbook links (#22205) | Andre Delfino | 2020-09-15 | 1 | -1/+1 |
| | |||||
* | bpo-41776: Revise example of "continue" in the tutorial documentation (GH-22234) | Neeraj Samtani | 2020-09-15 | 1 | -5/+5 |
| | | | Revise example of "continue" in the tutorial documentation | ||||
* | Fix grammar in Doc/tutorial/controlflow.rst (GH-21885) | Denis Ovsienko | 2020-08-19 | 1 | -1/+1 |
| | | | Automerge-Triggered-By: @csabella | ||||
* | 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-28681: Clarify multiple function names in the tutorial (GH-21340) | Joannah Nanjekye | 2020-07-06 | 1 | -5/+4 |
| | | | | | | | | | * improve control flow docs * Add also Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | 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> | ||||
* | Improve IO tutorial's "Old string formatting" section (GH-16251) | Adorilson Bezerra | 2020-05-28 | 1 | -5/+5 |
| | | | | | | * Use a more universal explanation of string interpolation rather than specifically referencing sprintf(), which depends on the reader having a C background. Co-authored-by: Kyle Stanley <aeros167@gmail.com> | ||||
* | bpo-40552 Add 'users' variable in code sample (tutorial 4.2). (GH-19992) | Antoine | 2020-05-23 | 1 | -0/+3 |
| | | | | | | | * Add 'users' variable in code sample. * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | Python 3.10.0a0 (GH-20198) | Pablo Galindo | 2020-05-19 | 3 | -7/+7 |
| | |||||
* | bpo-39705 : sorted() tutorial example under looping techniques improved ↵ | Rahul Kumaresan | 2020-05-18 | 1 | -0/+15 |
| | | | | (GH-18999) | ||||
* | Change 'exception happened' to 'exception occurred' in two places (#19767) | Noah Doersing | 2020-05-01 | 1 | -1/+1 |
| | |||||
* | bpo-39869: Fix typo in 'Instance objects' section. (GH-18889) | Antoine | 2020-03-10 | 1 | -1/+1 |
| | |||||
* | Grammar fix in tutorial (GH-18425) | Don Kirkby | 2020-02-10 | 1 | -1/+1 |
| | |||||
* | bpo-39534: Doc: Clarify return in finally (GH-18324) | Julien Palard | 2020-02-06 | 1 | -9/+27 |
| | |||||
* | bpo-38558: Link to further docs from walrus operator mention in tutorial ↵ | Adorilson Bezerra | 2020-02-03 | 1 | -3/+4 |
| | | | | (GH-16973) | ||||
* | bpo-39431: Also mention nonlocal in assignment quirk (GH-17375) | Shanavas M | 2020-01-23 | 1 | -4/+4 |
| | |||||
* | bpo-38678: Improve argparse example in tutorial (GH-17207) | Raymond Hettinger | 2019-11-18 | 1 | -15/+17 |
| | |||||
* | Update interpreter.rst (GH-17059) | Jules Lasne (jlasne) | 2019-11-05 | 1 | -1/+1 |
| | | | Fixed what seemed to be a weird phrasing. | ||||
* | bpo-38558: Mention `:=` in conditions tutorial (GH-16919) | Ammar Askar | 2019-10-25 | 1 | -4/+4 |
| | |||||
* | bpo-38130: Fix error in explaining when an exception is re-raised (GH-16016) | Mohammad Dehghan | 2019-09-26 | 1 | -1/+1 |
| | | | | Co-Authored-By: Ashwin Ramaswami <aramaswamis@gmail.com> |