Commit Graph

37 Commits

Author SHA1 Message Date
Martin Panter
8f1dd224e0 Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Serhiy Storchaka
12d547a80d Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
Ezio Melotti
4645bb61fa Fix indentation in doc example. 2013-11-17 22:07:48 +02:00
Georg Brandl
cff39b0120 Use "lambda expression" as preferred to "lambda form". 2013-10-06 10:26:58 +02:00
Georg Brandl
d6d26ec908 Closes #18646: improve lambda docs in tutorial. Original patch by Terry Reedy. 2013-10-06 10:22:45 +02:00
Georg Brandl
8a0d58bb3d Use 2.x "print" syntax for this example. 2012-11-12 19:25:55 +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
Eli Bendersky
2cc49745a5 Fix typo in tutorial 2012-08-18 09:51:37 +03:00
Senthil Kumaran
2f76f73d73 Issue #15630: Add an example for "continue" statement in the tutorial. Patch by
Daniel Ellis.
2012-08-12 11:58:53 -07:00
Nick Coghlan
0a09f3e2c3 Nudge readers towards a more accurate mental model for loop else clauses (Backport from 3.x) 2012-06-07 22:57:35 +10:00
Ezio Melotti
05a7f0dcac #6570: clarify tutorial section about keyword arguments. 2011-12-13 15:49:22 +02:00
Georg Brandl
a350f0f9fd Confirm that the prime example is actually correct. We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least. 2011-08-08 21:45:13 +02:00
Ezio Melotti
bfbd1a2fd4 #12092: backport rephrasing of a paragraph in the tutorial. 2011-05-17 05:39:22 +03:00
Georg Brandl
78f11edf3f Merged revisions 85530,85534,85538,85540-85542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85530 | georg.brandl | 2010-10-15 17:32:05 +0200 (Fr, 15 Okt 2010) | 1 line

  Refrain from using inline suites.
........
  r85534 | georg.brandl | 2010-10-15 18:19:43 +0200 (Fr, 15 Okt 2010) | 1 line

  #9801: document how list and dict proxies created by Managers behave w.r.t. mutable items.
........
  r85538 | georg.brandl | 2010-10-15 18:35:46 +0200 (Fr, 15 Okt 2010) | 1 line

  #7303: add documentation for useful pkgutil functions and classes.
........
  r85540 | georg.brandl | 2010-10-15 18:42:37 +0200 (Fr, 15 Okt 2010) | 1 line

  #6798: fix wrong docs for the arguments to several trace events.
........
  r85541 | georg.brandl | 2010-10-15 18:53:24 +0200 (Fr, 15 Okt 2010) | 1 line

  #4968: updates to inspect.is* function docs.
........
  r85542 | georg.brandl | 2010-10-15 19:01:15 +0200 (Fr, 15 Okt 2010) | 1 line

  #7790: move table of struct_time members to the actual description of struct_time.
........
2010-11-26 07:34:20 +00:00
Georg Brandl
44c3ceb8ac #8267: Use sorted() to get a sorted list of dict keys. 2010-10-15 15:31:09 +00:00
Mark Dickinson
f058d2dc08 Issue #7369: Fibonacci series should start at 0 in tutorial example. 2009-11-23 16:39:05 +00:00
Georg Brandl
e3b9b5e4ed #6204: use a real reference instead of "see later". 2009-06-06 17:51:31 +00:00
Georg Brandl
4c324b9801 #6211: elaborate a bit on ways to call the function. 2009-06-06 17:50:05 +00:00
Georg Brandl
7be493a86c Use preferred form of raising exceptions. 2009-05-30 07:31:25 +00:00
Georg Brandl
c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Benjamin Peterson
42d19e6a2c pretend exceptions don't exist a while longer 2008-12-24 16:10:05 +00:00
Georg Brandl
34196c851a Add reference to enumerate() to indices example. 2008-12-04 18:54:05 +00:00
Andrew M. Kuchling
fcdc80bfd2 Fix grammar error; reword two paragraphs 2008-11-06 19:23:02 +00:00
Georg Brandl
a8bb5506a6 #4247: add "pass" examples to tutorial. 2008-11-06 18:49:15 +00:00
Georg Brandl
3ce0dee9a3 Incorporate some suggestions by Tait Stevens. 2008-09-13 17:18:11 +00:00