summaryrefslogtreecommitdiff
path: root/Doc/reference/expressions.rst
Commit message (Collapse)AuthorAgeFilesLines
* Fix misinformation about NaN != NaN comparison (GH-19357)Mark Dickinson2020-04-051-2/+3
|
* fix comma location in various places (GH-19233)Mathieu Dupuy2020-03-301-1/+1
|
* bpo-39868: Update Language Reference for PEP 572. (#18793)Brandt Bucher2020-03-051-3/+15
|
* bpo-35224: Additional documentation for Assignment Expressions (GH-15935)Emily Morehouse2019-09-111-0/+2
| | | | | | | | | | | | | Add or update assignment expression documentation for: - FAQ - Design - Reference - Expressions - Reference - Lexical Analysis https://bugs.python.org/issue35224 Automerge-Triggered-By: @matrixise
* bpo-33459: Fix "tuple displays" term in Expressions.rst (GH-6760)Andre Delfino2019-09-111-4/+4
| | | | | | | https://bugs.python.org/issue33459 Automerge-Triggered-By: @matrixise
* bpo-32118: Simplify docs for sequence comparison (GH-15450)Raymond Hettinger2019-08-241-19/+7
|
* bpo-35224: Reverse evaluation order of key: value in dict comprehensions ↵Jörn Heissler2019-06-221-0/+6
| | | | | | | | | | | (GH-14139) … as proposed in PEP 572; key is now evaluated before value. https://bugs.python.org/issue35224
* bpo-30969: Fix docs about the comparison in absence of __contains__ (GH-2761)Antti Haapala2019-05-301-5/+6
|
* bpo-34682: Wording and grammatical changes to the ↵divyag92019-05-131-11/+11
| | | | | doc(https://docs.python.org/3) (GH-13120) https://bugs.python.org/issue34682
* Correct misspelling (GH-11470)Johnny Gérard2019-05-121-1/+1
|
* bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174)Serhiy Storchaka2018-12-191-20/+22
|
* Correct a couple of unbalanced parenthesis. (GH-10779)Andre Delfino2018-12-051-1/+1
|
* Add link to PEP 525 in Expressions. (GH-10333)Andrés Delfino2018-11-071-1/+5
|
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-281-47/+39
|
* bpo-35054: Add more index entries for symbols. (GH-10064)Serhiy Storchaka2018-10-261-29/+116
|
* closes bpo-28955: Clarified comparisons between NaN and number in reference ↵Tony Flury2018-09-141-6/+5
| | | | | | documentation (GH-5982) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-33702: Add some missing links in production lists and do a little polish ↵Andrés Delfino2018-07-071-7/+7
| | | | (GH-7259)
* bpo-33847: Add '@' operator entry to index (GH-7669)Andrés Delfino2018-06-151-1/+3
|
* bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672)Andrés Delfino2018-06-151-1/+1
| | | 'expresson list' refers to the grammar term 'expression_list' in the subscription production.
* Fix lambda parameters being refered as arguments (GH-7037)Andrés Delfino2018-05-221-2/+2
|
* bpo-33260: Regenerate token.py after removing ASYNC and AWAIT. (GH-6447)Serhiy Storchaka2018-04-111-1/+1
|
* bpo-10544: Disallow "yield" in comprehensions and generator expressions. ↵Serhiy Storchaka2018-02-041-14/+9
| | | | (GH-4564)
* bpo-10544: Deprecate "yield" in comprehensions and generator expressions. ↵Serhiy Storchaka2017-12-011-8/+53
| | | | | | | | | | | | | | (GH-4579) The current behaviour of yield expressions inside comprehensions and generator expressions is essentially an accident of implementation - it arises implicitly from the way the compiler handles yield expressions inside nested functions and generators. Since the current behaviour wasn't deliberately designed, and is inherently confusing, we're deprecating it, with no current plans to reintroduce it. Instead, our advice will be to use a named nested generator definition for cases where this behaviour is desired.
* bpo-31708: Allow async generator expressions in synchronous functions (#3905)Yury Selivanov2017-10-061-8/+10
|
* bpo-31501: Operator precedence description for arithmetic operators (#3633)svelankar2017-09-171-2/+2
|
* Fix typos in multiple `.rst` files (#1668)delirious-lettuce2017-05-191-1/+1
|
* bpo-28315: Improve code examples in docs (GH-1372)UltimateCoder2017-05-031-1/+1
| | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>
* Remove outdated note about constraining of the bit shift right operand. (#1258)Serhiy Storchaka2017-04-221-5/+0
| | | The constrain was removed in bpo-29816.
* bpo-29952: Use usual terminology of dict (GH-917)cocoatomo2017-03-311-1/+1
| | | s/keys and elements/keys and values/
* bpo-16011 clarify that 'in' always returns a boolean valueAmit Kumar2017-03-281-9/+10
|
* Fix small typos in expressions.rst (GH-276)Jim Fasarakis-Hilliard2017-02-241-2/+2
|
* Issues #12067: Merge hash recommendation from 3.5Martin Panter2017-01-291-0/+4
|\
| * Issue #12067: Recommend that hash and equality be consistentMartin Panter2017-01-291-0/+4
| |
* | Issue #28954: Merge keyword argument syntax from 3.5Martin Panter2016-12-241-1/+1
|\ \ | |/
| * Issue #28954: Add missing comma to keyword argument syntaxMartin Panter2016-12-241-1/+1
| |
* | Issue #28091: Document PEP 525 & PEP 530.Yury Selivanov2016-12-151-3/+163
|/ | | | Patch by Eric Appelt.
* Issue #26511: Reference the id() function in the 'is' and 'is not' docsRaymond Hettinger2016-09-111-2/+3
|
* Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting.Martin Panter2016-07-261-1/+3
| | | | Patch by Julien Palard.
* Issue #24136: Document generalized unpacking, PEP 448Martin Panter2016-06-121-24/+58
| | | | Based on patches by Konstantin Molchanov and Neil Girdhar.
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-1/+1
| | | | Original patch by James Edwards.
* Issue #26156: Make expressions grammar description more semantically correct.Serhiy Storchaka2016-05-081-2/+2
|
* Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-311-3/+3
|
* Issue #25161: Merge full stops from 3.4 into 3.5Martin Panter2015-10-101-1/+1
|\
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-101-1/+1
| |
* | Issue #12067: Merge comparisons doc from 3.4 into 3.5Martin Panter2015-09-231-56/+188
|\ \ | |/
| * Issue #12067: Rewrite Comparisons section in the language referenceMartin Panter2015-09-231-56/+188
| | | | | | | | | | | | | | Some of the details of comparing mixed types were incorrect or ambiguous. NotImplemented is only relevant at a lower level than the Expressions chapter. Added details of comparing range() objects, and default behaviour and consistency suggestions for user-defined classes. Patch from Andy Maier.
* | merge 3.4 (#24610)Benjamin Peterson2015-07-111-1/+1
|\ \ | |/
| * fix normalization example (closes #24610)Benjamin Peterson2015-07-111-1/+1
| | | | | | | | Patch by Chris Angelico
* | Issue #24439: Improve PEP 492 related docs.Yury Selivanov2015-06-241-0/+1
| | | | | | | | Patch by Martin Panter.
* | Merge with 3.4Terry Jan Reedy2015-06-121-1/+1
|\ \ | |/