summaryrefslogtreecommitdiff
path: root/Doc/tutorial
Commit message (Collapse)AuthorAgeFilesLines
* GH-97950: Use new-style index directive ('builtin') (#104164)Adam Turner2023-05-062-2/+2
| | | | | | | | | | | | | * Uncomment builtin removal in pairindextypes * Use new-style index directive ('builtin') - C API * Use new-style index directive ('builtin') - Extending * Use new-style index directive ('builtin') - Library * Use new-style index directive ('builtin') - Reference * Use new-style index directive ('builtin') - Tutorial
* GH-97950: Use new-style index directive ('statement') (#104162)Adam Turner2023-05-041-1/+1
|
* GH-97950: Use new-style index directive ('object') (#104158)Adam Turner2023-05-042-2/+2
| | | | | | | | | | | * 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-97950: Use new-style index directive ('module') (#103996)Adam Turner2023-05-042-3/+3
| | | | | | | | | | | | | | | | | * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
* [doc] Fix error in tutorial example: type(exc) is the type rather than the ↵Jens-Hilmar Bradt2023-03-221-1/+1
| | | | instance (#102751)
* gh-102703: Fix typo in modules tutorial documentation (GH-102707)Robert Prater (B. Eng)2023-03-141-1/+1
| | | | | | | | | **Before** This prevents directories with a common name, such as ``string``, unintentionally hiding ... **After** This prevents directories with a common name, such as ``string``, from unintentionally hiding ...
* gh-102354: change python3 to python in docs examples (#102696)Paul Watson2023-03-141-1/+1
|
* Misc improvements to the float tutorial (GH-102052)Raymond Hettinger2023-02-191-33/+106
|
* gh-100425: Update tutorial docs related to sum() accuracy (FH-101854)neuralstring2023-02-191-1/+1
|
* docs: replace PyPI description with link (#101506)François Magimel2023-02-031-2/+2
|
* gh-100633 Tutorial: Fix dataclasses import (#100638)Owain Davies2022-12-311-1/+1
| | | import dataclass not dataclasses from dataclasses
* gh-55688: Add note about ending backslashes for raw strings (#94768)Stanley2022-12-281-0/+5
| | | Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
* gh-99908: Tutorial: Modernize the 'data-record class' example (#100499)JosephSBoyle2022-12-241-9/+15
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-100425: Improve accuracy of builtin sum() for float inputs (GH-100426)Raymond Hettinger2022-12-231-1/+1
|
* Fix typo in introduction.rst (#100266)Mikhail Berkov2022-12-161-1/+1
|
* gh-70393: Clarify mention of "middle" scope (#98839)Shantanu2022-12-111-2/+2
|
* [doc] fix typo (GH-99143)Doj2022-11-051-1/+1
|
* Doc: use "unnumbered" footnotes (#98954)Manuel Kaufmann2022-11-011-2/+2
| | | | | Use unnumbered footnote in this file to avoid reseting the footnotes numbering. Example: when building the tutorial into a PDF and using `latex_show_urls = "footnotes"`; this footnote become the number 8. However, without this change, the footnote shows the number 1.
* Missing PS1 prompt in tutorial example (GH-98921)Manuel Kaufmann2022-10-311-2/+3
|
* tutorial: remove "with single quotes" (#98204)Jelle Zijlstra2022-10-121-1/+1
| | | | | | Closes #91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't.
* doc: remove a misleading statement. (GH-98093)Julien Palard2022-10-101-2/+2
|
* gh-73196: Add namespace/scope clarification for inheritance section (#92840)Stanley2022-10-071-1/+2
| | | Add namespace/scope clarification for inheritance section
* gh-97654: Add auto exception chaining example to tutorial (#97703)Shahriar Heidrich2022-10-041-5/+23
| | | Add auto exception chaining example to tutorial
* Use SyntaxError invalid range in tutorial introduction example (GH-93031)Eddie Hebert2022-09-301-2/+2
| | | | | | Use output from a 3.10+ REPL, showing invalid range, for the SyntaxError examples in the tutorial introduction page. Automerge-Triggered-By: GH:iritkatriel
* gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)Serhiy Storchaka2022-09-241-1/+1
|
* gh-81039: Add small example of f-string's "=}" to tutorial (gh-92291)Stanley2022-09-211-1/+11
|
* gh-95413: Remove references to deprecated CGI library (#95414)partev2022-08-301-1/+1
|
* small grammatical change (GH-96138)sand80892022-08-211-1/+1
| | | changed a to an under An example that uses most of the list methods
* Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317)Chenwei Xiao2022-07-231-1/+1
| | | For the continuation lines, "..." should present as secondary prompt
* Fix copy-friendliness of tutorial example (GH-93424)Chenwei Xiao2022-07-221-0/+1
|
* Tutorial sys.argv example should not have interactive prompt (GH-94880)Marco Buttu2022-07-151-4/+8
|
* Docs: remove redundant "adverb-adjective" hyphens from compound modifiers ↵Ned Batchelder2022-07-052-2/+2
| | | | | (GH-94551) Discussion: https://discuss.python.org/t/slight-grammar-fix-throughout-adverbs-dont-need-hyphen/17021
* Docs: Update SyntaxError message in REPL example for list comprehension ↵Cheryl Sabella2022-06-291-3/+3
| | | | (GH-93901)
* gh-61585: Clarify import scope in modules tutorial (GH-93455)Stanley2022-06-281-10/+11
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-94226: Remove the locale.format() function (#94229)Victor Stinner2022-06-261-1/+1
| | | | | | | Remove the locale.format() function, deprecated in Python 3.7: use locale.format_string() instead. Remove TestFormatPatternArg test case: it is irrelevant for locale.format_string() which accepts complex formats.
* Closes gh-94152: Update pyvideo.org URL (GH-94075)partev2022-06-221-1/+1
| | | The URL is now https://pyvideo.org, which uses HTTPS and avoids a redirect.
* gh-94114: Remove obsolete reference to python.org mirrors (GH-94115)partev2022-06-221-4/+1
| | | * gh-94114
* Tutorial: specify match cases don't fall through (GH-93615)max2022-06-211-2/+4
|
* gh-93240: clarify wording in IO tutorial (GH-93276)paulreece2022-06-211-1/+1
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-89158: Add some REPL secondary prompt markers (#93073)Nicolas Haller2022-05-231-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.
* gh-91249: Remove .bat extension in documentation for when activating venv on ↵yashlad6812022-05-131-1/+1
| | | | Windows. (GH-92770)
* gh-77521: Add link to builtin module names in modules tutorial (#92438)slateny2022-05-081-1/+2
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* Python 3.12.0a0Pablo Galindo2022-05-083-7/+7
|
* gh-92368: Fix missing possessive apostrophe (#92397)gophra2022-05-061-1/+1
| | | * Fix missing possessive apostrophe
* gh-85679: Recommend `encoding="utf-8"` in tutorial (GH-91778)Inada Naoki2022-05-021-10/+18
|
* gh-85757: Change wording from nested to inner (GH-91811)slateny2022-04-301-1/+1
| | | | | | | | | #85757 https://docs.python.org/3/tutorial/datastructures.html#nested-list-comprehensions I do think this is clearer, but I wonder if 'nested' should be kept though to get the terminology out there more often. So perhaps it could be something like 'inner (nested) listcomp' or 'nested (inner) listcomp' despite sounding a bit redundant Automerge-Triggered-By: GH:rhettinger
* gh-89770: [PEP-678] add exception notes to tutorial (GH-30441)Irit Katriel2022-04-201-0/+64
|
* gh-91541: Fix error in example in modules tutorial (#91634)1809092022-04-171-1/+1
|
* gh-90449: Improve accuracy and readability of exceptions tutorial (GH-31899)Irit Katriel2022-04-131-46/+54
|
* bpo-22295: use python -m pip rather than plain pip in more examples (GH-24003)Ville Skyttä2022-04-091-12/+12
|