summaryrefslogtreecommitdiff
path: root/Doc/reference/expressions.rst
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ | |/
| * Closes issue #24405: mark set display as code.Terry Jan Reedy2015-06-121-1/+1
| |
* | Issue 24180: Documentation for PEP 492 changes.Yury Selivanov2015-05-211-1/+17
| |
* | PEP 479: Change StopIteration handling inside generators.Yury Selivanov2015-05-091-6/+6
| | | | | | | | Closes issue #22906.
* | Issue 24088: Clarify semantics of yield expression (merge from 3.4).Guido van Rossum2015-05-051-1/+1
|\ \ | |/
| * Issue 24088: Clarify semantics of yield expression.Guido van Rossum2015-05-051-1/+1
| |
* | Merge with 3.4Zachary Ware2015-02-191-1/+1
|\ \ | |/
| * Fix a typo pointed out on docs@Zachary Ware2015-02-191-1/+1
| |
* | Issue22988: clarify yield and exception blocksEthan Furman2015-01-141-4/+5
|\ \ | |/
| * Issue22988: clarify yield and exception blocksEthan Furman2015-01-141-4/+5
| |
* | merge with 3.4Georg Brandl2014-10-311-2/+2
|\ \ | |/
| * #22613: remaining corrections in extending/reference docs (thanks Jacques ↵Georg Brandl2014-10-311-2/+2
| | | | | | | | Ducasse)
* | Issue #20643: Removed unneeded (and wrong) class directives.Serhiy Storchaka2014-09-051-4/+1
|\ \ | |/
| * Issue #20643: Removed unneeded (and wrong) class directives.Serhiy Storchaka2014-09-051-4/+1
| |
* | Issue #21439: Merge with 3.4Zachary Ware2014-06-031-2/+2
|\ \ | |/
| * Issue #21439: Fix a couple of typos.Zachary Ware2014-06-031-2/+2
| |