Commit Graph

27 Commits

Author SHA1 Message Date
Raymond Hettinger 7e19b60dae Issue 21575: Show list.sort() arguments in the tutorial. 2014-05-26 18:49:25 -07:00
Terry Jan Reedy cc798377b7 Issue #21545: Add .pop example and tweak comment about pure mutation methods.
Patch prepared by David Harrigan.
2014-05-23 00:34:02 -04:00
Georg Brandl b3d6fe336d Small logical fix in filter() example description. 2013-10-06 11:41:36 +02:00
Ezio Melotti 9236a4e99d #16470: mention set and dict comprehension in the tutorial. Patch by Yongzhi Pan. 2012-11-17 12:02:30 +02:00
Georg Brandl 526b553608 Remove versionadded from the tutorial, at a location where it produces more questions than it answers. 2012-11-15 07:10:27 +01:00
Chris Jerdonek 0cffd6be56 Issue #16225: Backport from 3.2: Add additional note to tutorial about looping. 2012-10-15 20:01:38 -07:00
Ezio Melotti f637920652 #14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware. 2012-06-17 14:10:59 +02:00
Raymond Hettinger 4c8d392bc1 Reorder the entries to put the type specific technique last. 2012-04-23 21:24:15 -07:00
Ezio Melotti 4a72d1a661 #13549: improve tutorial section about listcomps. 2011-12-13 14:50:21 +02:00
Senthil Kumaran 169fa9345d Doc fix. Mathematically correct sentence. 2011-09-29 07:52:46 +08:00
Georg Brandl fc3901e5bf Clarify. 2010-11-05 07:38:48 +00:00
Georg Brandl 44c3ceb8ac #8267: Use sorted() to get a sorted list of dict keys. 2010-10-15 15:31:09 +00:00
Ezio Melotti eb72991fbb Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list. 2010-03-31 07:26:24 +00:00
Georg Brandl a39f2afe9b Mention inefficiency of lists as queues, add link to collections.deque discussion. 2010-03-21 09:37:54 +00:00
Georg Brandl a08867d8a1 Dont shout to users. 2009-03-31 23:01:27 +00:00
Georg Brandl 354e4cbb1c #5018: remove confusing paragraph. 2009-03-31 22:40:16 +00:00
Mark Dickinson 3e4caeb3bf Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
Georg Brandl 7044b11818 Remove tabs from the documentation. 2009-01-03 21:04:55 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Benjamin Peterson f2a2c796e3 remove duplicate target 2008-09-13 17:31:08 +00:00
Georg Brandl 3ce0dee9a3 Incorporate some suggestions by Tait Stevens. 2008-09-13 17:18:11 +00:00
Benjamin Peterson f9ef9881d7 update the tutorial to use str.format 2008-05-26 00:54:22 +00:00
Georg Brandl 8ca6c84b6f Phase out has_key usage in the tutorial; correct docs for PyMapping_HasKey*. 2008-03-28 12:22:12 +00:00
Georg Brandl 9c6c47bf4b Mark the descitems in the tutorial as "noindex" so that :meth: cross-refs don't link to them. 2008-03-21 14:32:33 +00:00
Georg Brandl b19be571e0 Some cleanup in the docs. 2007-12-29 10:57:00 +00:00
Georg Brandl adbda844d0 Add a section about nested listcomps to the tutorial.
Thanks to Ian Bruntlett and Robert Lehmann.
2007-12-14 19:03:36 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00