summaryrefslogtreecommitdiffstats
path: root/Doc/reference/expressions.rst
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672) (#7716)Andrés Delfino2018-06-151-1/+1
| | | | | | 'expresson list' refers to the grammar term 'expression_list' in the subscription production.. (cherry picked from commit 4fddd4e4069aad9efad999d8d9ce3cd9fb523a5c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] bpo-33595: Fix lambda parameters being refered as arguments (GH-7037) ↵Terry Jan Reedy2018-05-251-2/+2
| | | | | | | (GH-7122) (cherry picked from commit 268cc7c) Co-authored-by: Andrés Delfino adelfino@gmail.com
* [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447)Mariatta2017-05-041-1/+1
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca)
* bpo-29952: Use usual terminology of dict (GH-924)INADA Naoki2017-03-311-1/+1
| | | | s/keys and elements/keys and values/ (cherry picked from commit cdcac039fb447f2ab04efcacbe663751bb2cb4ec)
* bpo-16011: clarify that 'in' always returns a boolean value (GH-152) (GH-883)Mariatta2017-03-291-23/+16
| | | (cherry picked from commit 0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5)
* Issue #12067: Rewrite Comparisons section in the language referenceMartin Panter2017-01-211-39/+161
| | | | | | Some of the details of comparing mixed types were incorrect or ambiguous. Added default behaviour and consistency suggestions for user-defined classes. Based on patch from Andy Maier.
* Issue #23921: Standardized documentation whitespace formatting.Serhiy Storchaka2016-05-101-1/+1
| | | | Original patch by James Edwards.
* Issue #23986: Note that the in-operator for lists and tuples check identity ↵Raymond Hettinger2016-04-261-1/+1
| | | | before equality.
* Remove redundant leading zeroes in PEP references.Serhiy Storchaka2016-03-311-1/+1
|
* Issue #20643: Fixed references to the next() method (distinguish from theSerhiy Storchaka2014-09-051-5/+4
| | | | next() function).
* correct call grammar error (#3473)Benjamin Peterson2014-08-281-1/+1
|
* Issue #19190: Improve cross-references in builtin types and functions ↵Serhiy Storchaka2013-10-091-4/+6
| | | | documentation.
* Use "lambda expression" as preferred to "lambda form".Georg Brandl2013-10-061-7/+6
|
* Clarify point in name mangling doc.Georg Brandl2013-04-141-8/+7
|
* Backport rev. 3ae74b361f53 to 2.7 branch.Georg Brandl2013-03-281-1/+1
|\
| * Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-281-1/+1
| | | | | | | | otherwise are cut off or have overlapping text.
| * Merge from 3.2: add links and index entries for "argument" and "parameter."Chris Jerdonek2012-12-251-7/+11
| |\ | | | | | | | | | | | | This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the commits referenced there).
| | * Add additional links and index entries for "argument" and "parameter".Chris Jerdonek2012-12-251-7/+11
| | | | | | | | | | | | | | | This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the commits referenced there).
| * | #16677: merge with 3.2.Ezio Melotti2012-12-251-5/+5
| |\ \ | | |/
| | * #16677: rename section header and fix markup.Ezio Melotti2012-12-251-5/+5
| | |
| * | Link to "yield from" examples in yield documentation.Chris Jerdonek2012-12-231-1/+11
| | | | | | | | | | | | | | | This commit also simplifies the more advanced "yield from" example and removes unused function parameters.
| * | merge 3.2Benjamin Peterson2012-10-121-11/+12
| |\ \ | | |/
| | * Fix links to the __next__ method.Ezio Melotti2012-10-121-11/+12
| | |
| | * Closes #16149: remove now-false statement about the inability to compare ↵Georg Brandl2012-10-061-10/+4
| | | | | | | | | | | | Decimal and float objects.
| * | Closes #16149: remove now-false statement about the inability to compare ↵Georg Brandl2012-10-061-10/+4
| | | | | | | | | | | | Decimal and float objects.
| * | Merge #15355: Mention already-executing Exception in generator docs.R David Murray2012-08-181-2/+9
| |\ \ | | |/ | | | | | | Patch by Chris Jerdonek.
| | * #15355: Mention already-executing Exception in generator docs.R David Murray2012-08-181-2/+9
| | | | | | | | | | | | Patch by Chris Jerdonek.
| * | Merge with 3.2 closes 14023Terry Jan Reedy2012-02-181-5/+5
| |\ \ | | |/
| | * Issue 14023 Revert edit to 2.7 version. (I suspect edit is from when we thoughtTerry Jan Reedy2012-02-181-5/+5
| | | | | | | | | | | | to to makes bytes mutable, before deciding to add bytearrays.)
| * | Add versionchanged notes for PEP 380Nick Coghlan2012-01-141-1/+4
| | |
| * | Implement PEP 380 - 'yield from' (closes #11682)Nick Coghlan2012-01-131-3/+27
| |/
| * #12531: Fix spaces and markup.Ezio Melotti2011-07-301-1/+1
| |
| * Issue #12531: add index entries to documentation of * and ** in function callsEli Bendersky2011-07-301-5/+11
| |
| * Fix a few doc errors, mostly undefined keywords.Georg Brandl2011-01-151-2/+2
| |
| * Undo an accidental commit in r87812.Brett Cannon2011-01-061-1/+1
| |
| * Get --coverage to be an acceptable flag for test.regrtest again.Brett Cannon2011-01-061-1/+1
| |
| * Use sentence case in section titles consistentlyAlexander Belopolsky2010-12-151-1/+1
| |
| * Add missing word, and add a better reference to the actual function.Georg Brandl2010-12-011-3/+4
| |
| * Add sets to the precedence table.Brett Cannon2010-11-211-0/+1
| |
| * Fix errors found by "make suspicious".Georg Brandl2010-10-061-1/+1
| |
| * Migrate to Sphinx 1.0 C language constructs.Georg Brandl2010-10-061-1/+1
| |
| * #9911: doc copyedits.Georg Brandl2010-09-211-1/+1
| |
| * Mention % as string formatting.Georg Brandl2010-09-201-0/+3
| |
| * Clarify where support for negative indices fall in the language hierarchy.Raymond Hettinger2010-09-151-5/+12
| |
| * Fix issue9132 - Documentation for comparing dictionaries is out of dateSenthil Kumaran2010-07-141-12/+3
| |
| * Merged revisions ↵Benjamin Peterson2010-04-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 79307,79408,79430,79533,79542,79579-79580,79585-79587,79607-79608,79622,79717,79820,79822,79828,79862,79875,79923-79924,79941-79943,79945,79947,79951-79952 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79307 | florent.xicluna | 2010-03-22 17:45:50 -0500 (Mon, 22 Mar 2010) | 2 lines #7667: Fix doctest failures with non-ASCII paths. ........ r79408 | victor.stinner | 2010-03-24 20:18:38 -0500 (Wed, 24 Mar 2010) | 2 lines Fix a gcc warning introduced by r79397. ........ r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana. ........ r79533 | barry.warsaw | 2010-03-31 16:07:16 -0500 (Wed, 31 Mar 2010) | 6 lines - Issue #8233: When run as a script, py_compile.py optionally takes a single argument `-` which tells it to read files to compile from stdin. Each line is read on demand and the named file is compiled immediately. (Original patch by Piotr O?\197?\188arowski). ........ r79542 | r.david.murray | 2010-03-31 20:28:39 -0500 (Wed, 31 Mar 2010) | 3 lines A couple small grammar fixes in test.rst, and rewrite the check_warnings docs to be clearer. ........ r79579 | georg.brandl | 2010-04-02 03:34:41 -0500 (Fri, 02 Apr 2010) | 1 line Add 2.6.5. ........ r79580 | georg.brandl | 2010-04-02 03:39:09 -0500 (Fri, 02 Apr 2010) | 1 line #2768: add a note on how to get a file descriptor. ........ r79585 | georg.brandl | 2010-04-02 04:03:18 -0500 (Fri, 02 Apr 2010) | 1 line Remove col-spanning cells in logging docs. ........ r79586 | georg.brandl | 2010-04-02 04:07:42 -0500 (Fri, 02 Apr 2010) | 1 line Document PyImport_ExecCodeModuleEx(). ........ r79587 | georg.brandl | 2010-04-02 04:11:49 -0500 (Fri, 02 Apr 2010) | 1 line #8012: clarification in generator glossary entry. ........ r79607 | andrew.kuchling | 2010-04-02 12:48:23 -0500 (Fri, 02 Apr 2010) | 1 line #6647: document that catch_warnings is not thread-safe ........ r79608 | andrew.kuchling | 2010-04-02 12:54:26 -0500 (Fri, 02 Apr 2010) | 1 line #6647: add note to two examples ........ r79622 | tarek.ziade | 2010-04-02 16:34:19 -0500 (Fri, 02 Apr 2010) | 1 line removed documentation on code that was reverted and pushed into distutils2 ........ r79717 | antoine.pitrou | 2010-04-03 16:22:38 -0500 (Sat, 03 Apr 2010) | 4 lines Fix wording / typography, and a slightly misleading statement (memoryviews don't support complex structures right now) ........ r79820 | benjamin.peterson | 2010-04-05 22:34:09 -0500 (Mon, 05 Apr 2010) | 1 line ready _sre types ........ r79822 | georg.brandl | 2010-04-06 03:18:15 -0500 (Tue, 06 Apr 2010) | 1 line #8320: document return value of recv_into(). ........ r79828 | georg.brandl | 2010-04-06 09:33:44 -0500 (Tue, 06 Apr 2010) | 1 line Add JP. ........ r79862 | georg.brandl | 2010-04-06 15:27:59 -0500 (Tue, 06 Apr 2010) | 1 line Fix syntax. ........ r79875 | mark.dickinson | 2010-04-06 17:18:23 -0500 (Tue, 06 Apr 2010) | 1 line More NaN consistency doc fixes. ........ r79923 | georg.brandl | 2010-04-10 06:15:24 -0500 (Sat, 10 Apr 2010) | 1 line #8360: skipTest was added in 2.7. ........ r79924 | georg.brandl | 2010-04-10 06:16:59 -0500 (Sat, 10 Apr 2010) | 1 line #8346: update version. ........ r79941 | andrew.kuchling | 2010-04-10 20:39:36 -0500 (Sat, 10 Apr 2010) | 1 line Two grammar fixes ........ r79942 | andrew.kuchling | 2010-04-10 20:40:06 -0500 (Sat, 10 Apr 2010) | 1 line Punctuation fix ........ r79943 | andrew.kuchling | 2010-04-10 20:40:30 -0500 (Sat, 10 Apr 2010) | 1 line Add various items ........ r79945 | andrew.kuchling | 2010-04-10 20:40:49 -0500 (Sat, 10 Apr 2010) | 1 line name correct ........ r79947 | andrew.kuchling | 2010-04-10 20:44:13 -0500 (Sat, 10 Apr 2010) | 1 line Remove distutils section ........ r79951 | andrew.kuchling | 2010-04-11 07:48:08 -0500 (Sun, 11 Apr 2010) | 1 line Two typo fixes ........ r79952 | andrew.kuchling | 2010-04-11 07:49:37 -0500 (Sun, 11 Apr 2010) | 1 line Add two items ........
| * Merged revisions 79852 via svnmerge fromMark Dickinson2010-04-061-0/+3
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79852 | mark.dickinson | 2010-04-06 19:20:11 +0100 (Tue, 06 Apr 2010) | 1 line Issue #8259: Clarify that there's an upper bound on the right-hand operand of a shift operator. ........
| * Fix typo in definition of 'in' keyword.Stefan Krah2010-04-011-1/+1
| |
| * Update versionadded/changed.Ezio Melotti2010-03-211-2/+0
| |
| * Merged revisions 78760,78771-78773,78802,78922,78952 via svnmerge fromGeorg Brandl2010-03-141-9/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78760 | georg.brandl | 2010-03-07 16:23:59 +0100 (So, 07 Mär 2010) | 1 line #5341: more built-in vs builtin fixes. ........ r78771 | georg.brandl | 2010-03-07 21:58:31 +0100 (So, 07 Mär 2010) | 1 line #8085: The function is called PyObject_NewVar, not PyObject_VarNew. ........ r78772 | georg.brandl | 2010-03-07 22:12:28 +0100 (So, 07 Mär 2010) | 1 line #8039: document conditional expressions better, giving them their own section. ........ r78773 | georg.brandl | 2010-03-07 22:32:06 +0100 (So, 07 Mär 2010) | 1 line #8044: document Py_{Enter,Leave}RecursiveCall functions. ........ r78802 | georg.brandl | 2010-03-08 17:28:40 +0100 (Mo, 08 Mär 2010) | 1 line Fix typo. ........ r78922 | georg.brandl | 2010-03-13 14:41:58 +0100 (Sa, 13 Mär 2010) | 1 line Update for new download location. ........ r78952 | georg.brandl | 2010-03-14 10:55:08 +0100 (So, 14 Mär 2010) | 1 line #8137: add iso-8859-16 to the standard encodings table. ........