summaryrefslogtreecommitdiffstats
path: root/Doc/reference/simple_stmts.rst
Commit message (Collapse)AuthorAgeFilesLines
* Replace the esoteric term 'datum' when describing dict comprehensions (#106119)Ned Batchelder2023-07-031-1/+1
|
* gh-103921: Document PEP 695 (#104642)Jelle Zijlstra2023-05-261-0/+46
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* GH-97950: Use new-style index directive ('builtin') (#104164)Adam Turner2023-05-061-4/+4
| | | | | | | | | | | | | * 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-16/+16
|
* GH-97950: Use new-style index directive ('exception') (#104160)Adam Turner2023-05-041-3/+3
|
* GH-97950: Use new-style index directive ('object') (#104158)Adam Turner2023-05-041-8/+8
| | | | | | | | | | | * 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 ('keyword') (#104153)Adam Turner2023-05-041-6/+6
| | | | | * Uncomment keyword removal in pairindextypes * Use new-style index directive ('keyword') - Reference
* doc: Formatting and typo fixes (#98974)jmcb2022-11-071-4/+4
|
* Docs: Fix backtick errors found by sphinx-lint (#97998)Hugo van Kemenade2022-10-071-8/+0
| | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-87304: Improve comments in language reference for imports (#92164)Robert Yang2022-05-031-3/+3
|
* Language reference: Remove duplicated text about iterable unpacking (GH-25212)Jiashuo Li2022-04-031-3/+1
|
* bpo-23556: [doc] Fix inaccuracy in documentation for raise without args. ↵Kinshuk Dua2022-01-271-8/+10
| | | | Improve tests for context in nested except handlers. (GH-29236)
* bpo-45711: Change exc_info related APIs to derive type and traceback from ↵Irit Katriel2021-11-301-0/+6
| | | | the exception instance (GH-29780)
* Update doc as relative import can be used with star import (GH-25667)Saiyang Gou2021-05-141-1/+1
|
* bpo-38605: Revert making 'from __future__ import annotations' the default ↵Pablo Galindo2021-04-211-2/+5
| | | | | | (GH-25490) This reverts commits 044a1048ca93d466965afc027b91a5a9eb9ce23c and 1be456ae9d53bb1cba2b24fc86175c282d1c2169, adapting the code to changes that happened after it.
* Fix description of behaviour of an exception class in 'from' clause (GH-24303)Mark Dickinson2021-04-111-4/+7
|
* bpo-38605: Update "Future statements" docs since PEP 563 is always enabled ↵Saiyang Gou2021-04-071-5/+2
| | | | | (GH-25236) Update documentation section for "Future statements" to reflect that `from __future__ import annotations` is on by default, and no features require using the future statement now.
* [doc] Mention with and except clauses in globals() (GH-13232)Andre Delfino2020-12-191-1/+1
|
* Doc: Remove old Python version from future stmt (GH-21802)Andre Delfino2020-10-211-2/+2
|
* bpo-41762: Fix usage of productionlist markup in the doc (GH-22281)Victor Stinner2020-09-181-17/+17
| | | | | | | Use an unique identifier for the different grammars documented using the Sphinx productionlist markup. productionlist markups of the same grammar, like "expressions" or "compound statements", use the same identifier "python-grammar".
* bpo-38434: Fixes some audit event documentation (GH-16932)Steve Dower2019-10-261-0/+1
|
* More updates to the annotated assignments docs (GH-13794)Ivan Levkivskyi2019-06-041-4/+3
|
* Update the annotated assignment docs (GH-13757)Ivan Levkivskyi2019-06-021-1/+7
|
* Don't use the LHS/RHS acronym in Simple statements (GH-12996)Andre Delfino2019-05-031-4/+4
| | | | | Prefer the full wording instead, as it is more meaningful for someone not familiar with the terms. Also, LFS/RHS is not used anywhere else in the documentation, while left/right-hand side mentions are common.
* bpo-30840: Document relative imports (#12831)Joannah Nanjekye2019-04-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | * document relative imports * 📜🤖 Added by blurb_it. * fix indentation error * remove indentation * Document relative imports * Document relative imports * remove from ...package * Document relative imports * remove trailing space * Document relative imports * Document relative imports
* bpo-35566: Add links to annotation glossary term (GH-11291)Cheryl Sabella2018-12-241-2/+2
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-191-43/+43
|
* bpo-33878: Doc: Fix missing case by simplifying. (GH-7762)Julien Palard2018-11-111-6/+3
| | | | | The documentation was not covering multiple targets enclosed by parenthesis nor multiple targets enclosed by brackets, adding them all would be heavy, an else cover them all and is lighter to read.
* Add future_stmt to simple_stmt production list. (GH-8239)Andrés Delfino2018-11-071-0/+1
|
* Mark -c and -O as command line options in reStructuredText. (GH-10103)Andrés Delfino2018-11-071-1/+1
|
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-281-13/+11
|
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-261-3/+19
|
* bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)Andrés Delfino2018-10-191-1/+8
|
* bpo-33702: Add some missing links in production lists and do a little polish ↵Andrés Delfino2018-07-071-12/+10
| | | | (GH-7259)
* bpo-32489: Allow 'continue' in 'finally' clause. (GH-5822)Serhiy Storchaka2018-03-181-3/+2
|
* String annotations [PEP 563] (#4390)Guido van Rossum2018-01-261-6/+9
| | | | | | | | * Document `from __future__ import annotations` * Provide plumbing and tests for `from __future__ import annotations` * Implement unparsing the AST back to string form This is required for PEP 563 and as such only implements a part of the unparsing process that covers expressions.
* Fix typo in Simple Statements documentation (GH-3809)kms708472017-09-281-1/+1
| | | Replace "restriction" with "restrictions".
* bpo-17188: add missing periods at the end of sentences (GH-1875)Mariatta2017-05-301-2/+2
|
* bpo-17188: DOC: Document 'from None' in raise statement (#1671)csabella2017-05-201-2/+20
| | | | | Original patch by Dennis Mårtensson.
* Fix a trivial typo in global section (#1497)Jim Fasarakis-Hilliard2017-05-081-1/+1
|
* Issue #28091: Document PEP 525 & PEP 530.Yury Selivanov2016-12-151-0/+4
| | | | Patch by Eric Appelt.
* Issue #28076: Variable annotations should be mangled for private names.Guido van Rossum2016-09-111-3/+4
| | | | By Ivan Levkivskyi.
* Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.Guido van Rossum2016-09-091-2/+3
| | | | Patch by Ivan Levkivskyi.
* Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-091-0/+44
| | | | Patch by Ivan Levkivskyi.
* Issue #24136: Merge unpacking doc from 3.5Martin Panter2016-06-121-3/+3
|\
| * Issue #24136: Document generalized unpacking, PEP 448Martin Panter2016-06-121-3/+3
| | | | | | | | Based on patches by Konstantin Molchanov and Neil Girdhar.
| * Issue #23275: Backport target list assignment documentation fixesMartin Panter2016-06-081-15/+14
| |
* | Issue #23275: Allow () = iterable assignment syntaxBerker Peksag2016-05-181-16/+15
|/ | | | Documentation updates by Martin Panter.
* Issue #27049: fix doc typoNed Deily2016-05-181-1/+1
|
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-2/+2
| | | | Original patch by James Edwards.