Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doc: use "unnumbered" footnotes (GH-98954) | Miss Islington (bot) | 2022-11-01 | 1 | -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. (cherry picked from commit f042646595d1cdd2ecdc15222b1766f746d010f0) Co-authored-by: Manuel Kaufmann <humitos@gmail.com> | ||||
* | Docs: Update SyntaxError message in REPL example for list comprehension ↵ | Miss Islington (bot) | 2022-06-29 | 1 | -3/+3 |
| | | | | | | | (GH-93901) (GH-94426) (cherry picked from commit 22b783aba05bcc3a21af9e5ae308ffbb98ff6a12) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> | ||||
* | bpo-46270: Describe the `in` and `not in` operators as membership tests. ↵ | Miss Islington (bot) | 2022-01-10 | 1 | -4/+6 |
| | | | | (GH-30504) (GH-30509) | ||||
* | bpo-43325: Add FAQ entry for identity tests (GH-25168) | Raymond Hettinger | 2021-04-04 | 1 | -3/+2 |
| | |||||
* | bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) | Zackery Spytz | 2020-11-28 | 1 | -1/+1 |
| | |||||
* | bpo-39705 : sorted() tutorial example under looping techniques improved ↵ | Rahul Kumaresan | 2020-05-18 | 1 | -0/+15 |
| | | | | (GH-18999) | ||||
* | bpo-38558: Link to further docs from walrus operator mention in tutorial ↵ | Adorilson Bezerra | 2020-02-03 | 1 | -3/+4 |
| | | | | (GH-16973) | ||||
* | bpo-38558: Mention `:=` in conditions tutorial (GH-16919) | Ammar Askar | 2019-10-25 | 1 | -4/+4 |
| | |||||
* | bpo-14050: Note that not all data can be sorted (GH-15381) | Raymond Hettinger | 2019-08-22 | 1 | -0/+7 |
| | |||||
* | bpo-36377: Specify that range() can not be compared (GH-12468) | Emmanuel Arias | 2019-04-02 | 1 | -12/+11 |
| | |||||
* | bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174) | Serhiy Storchaka | 2018-12-19 | 1 | -5/+5 |
| | |||||
* | bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037) | Stéphane Wirtel | 2018-10-26 | 1 | -1/+1 |
| | |||||
* | Update list.remove(x) documentation (GH-8636) | Lysandros Nikolaou | 2018-08-03 | 1 | -2/+2 |
| | | | Rephrase it to "It raises a `ValueError`" | ||||
* | bpo-32337: Update documentats about dict order (GH-4973) | hui shang | 2018-04-04 | 1 | -15/+11 |
| | |||||
* | bpo-30312: Small correction in datastructures set code sample (GH-2081) | KatherineMichel | 2017-06-10 | 1 | -1/+1 |
| | |||||
* | bpo-28315: Improve code examples in docs (GH-1372) | UltimateCoder | 2017-05-03 | 1 | -1/+1 |
| | | | | | | Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module> | ||||
* | bpo-29756: Improve documentation for list methods that compare items by ↵ | Xiang Zhang | 2017-03-13 | 1 | -2/+2 |
| | | | | | | equality (GH-572) | ||||
* | Fix small typos in introduction and datastructures of tutorial (GH-272) | Jim Fasarakis-Hilliard | 2017-02-25 | 1 | -4/+4 |
| | | | | | * Fix small typos in introduction and datastructures * Use iterable instead of L in the doc for list.extend | ||||
* | Issue #28587: Improve list examples in the tutorial | Raymond Hettinger | 2016-11-22 | 1 | -24/+20 |
| | |||||
* | Issue 28587: list.index documentation missing start and stop arguments. ↵ | Raymond Hettinger | 2016-11-21 | 1 | -3/+10 |
| | | | | (Contributed by Mariatta Wijaya.) | ||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Improve tutorial suggestion for looping techniques | Raymond Hettinger | 2015-09-01 | 1 | -11/+11 |
| | |||||
* | Closes #23181: codepoint -> code point | Georg Brandl | 2015-01-14 | 1 | -1/+1 |
| | |||||
* | Merge #21739: mention subtle difference between loops and listcomps in tutorial. | R David Murray | 2014-10-01 | 1 | -3/+8 |
|\ | |||||
| * | #21739: mention subtle difference between loops and listcomps in tutorial. | R David Murray | 2014-10-01 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | We don't want to go into a full explanation of scopes at this point in the tutorial, so we just mention that the loop creates or overwrites a persistent variable while the listcomp doesn't. Not mentioning this would lead someone to incorrectly assume loops and listcomps were *completely* equivalent, which would confuse them later. Original patch by Rose Ames, tweaked to remove the word 'scope'. | ||||
* | | Issue 21575: Show list.sort() arguments in the tutorial. | Raymond Hettinger | 2014-05-27 | 1 | -2/+3 |
|/ | |||||
* | Issue #21545: Add .pop example and tweak comment about pure mutation methods. | Terry Jan Reedy | 2014-05-23 | 1 | -2/+7 |
| | | | | Patch prepared by David Harrigan. | ||||
* | Add missing list methods. Found by Leonardo Pereira on docs@. | Georg Brandl | 2013-10-06 | 1 | -0/+12 |
| | |||||
* | Merge rephrasing with 3.2. | Ezio Melotti | 2012-11-17 | 1 | -3/+3 |
|\ | |||||
| * | Rephrase a sentence in the set and dict comprehensions tutorial page. | Ezio Melotti | 2012-11-17 | 1 | -3/+3 |
| | | |||||
* | | Issue #16225: Merge from 3.2: Add additional note to tutorial about looping. | Chris Jerdonek | 2012-10-16 | 1 | -0/+13 |
|\ \ | |/ | |||||
| * | Issue #16225: Add additional note to tutorial about changing sequence while ↵ | Chris Jerdonek | 2012-10-16 | 1 | -0/+13 |
| | | | | | | | | looping. | ||||
* | | Close issue #16073: merge fix from 3.2. | Chris Jerdonek | 2012-09-28 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Close issue #16073: fix map() example in list comprehension documentation. | Chris Jerdonek | 2012-09-28 | 1 | -1/+1 |
| | | | | | | | | Thanks for the e-mail report to docs@. | ||||
* | | merge with 3.2 | Sandro Tosi | 2012-08-12 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | zip() returns an iterator, make a list() of it; thanks to Martin from docs@ | Sandro Tosi | 2012-08-12 | 1 | -1/+1 |
| | | |||||
* | | #14840: merge with 3.2. | Ezio Melotti | 2012-06-17 | 1 | -9/+21 |
|\ \ | |/ | |||||
| * | #14840: Add a bit on the difference between tuples and lists. Initial patch ↵ | Ezio Melotti | 2012-06-17 | 1 | -9/+21 |
| | | | | | | | | by Zachary Ware. | ||||
* | | #13549: merge with 3.2. | Ezio Melotti | 2011-12-13 | 1 | -72/+102 |
|\ \ | |/ | |||||
| * | #13549: improve tutorial section about listcomps. | Ezio Melotti | 2011-12-13 | 1 | -72/+102 |
| | | |||||
* | | Closes #12192: Document that mutating list methods do not return the ↵ | Georg Brandl | 2011-10-08 | 1 | -8/+16 |
|/ | | | | instance (original patch by Mike Hoy). | ||||
* | Fix typo. | Georg Brandl | 2010-11-10 | 1 | -1/+1 |
| | |||||
* | Fix typo. | Georg Brandl | 2010-09-20 | 1 | -1/+1 |
| | |||||
* | Issue #4570: Clean-up tutorial example | Raymond Hettinger | 2010-08-08 | 1 | -9/+5 |
| | |||||
* | Remove redundant example. | Georg Brandl | 2010-05-21 | 1 | -4/+1 |
| | |||||
* | Merged revisions 79522 via svnmerge from | Ezio Melotti | 2010-03-31 | 1 | -14/+13 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79522 | ezio.melotti | 2010-03-31 10:26:24 +0300 (Wed, 31 Mar 2010) | 1 line Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list. ........ | ||||
* | Merged revisions 79179 via svnmerge from | Georg Brandl | 2010-03-21 | 1 | -0/+5 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79179 | georg.brandl | 2010-03-21 10:37:54 +0100 (So, 21 Mär 2010) | 1 line Mention inefficiency of lists as queues, add link to collections.deque discussion. ........ | ||||
* | The key-value pairs can be lists or tuples or any iterable. | Raymond Hettinger | 2009-06-16 | 1 | -1/+1 |
| | |||||
* | Expand a bit on dict views. | Georg Brandl | 2009-06-16 | 1 | -11/+18 |
| | |||||
* | Fix markup. | Georg Brandl | 2009-06-08 | 1 | -3/+3 |
| |