Commit Graph

22 Commits

Author SHA1 Message Date
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
Benjamin Peterson 80790287ab revert last revision; code was right 2008-08-02 03:05:11 +00:00
Benjamin Peterson 1af6fb5298 fix indentation that caused logic bug 2008-08-02 02:57:17 +00:00
Benjamin Peterson dee01d8af8 fix spelling 2008-05-28 11:51:41 +00:00
Benjamin Peterson a436878419 update tutorial function with more appropiate one from Eric Smith 2008-05-28 01:12:35 +00:00
Benjamin Peterson f9ef9881d7 update the tutorial to use str.format 2008-05-26 00:54:22 +00:00
Andrew M. Kuchling 8c65b1ed78 Typo fix 2008-04-15 13:10:41 +00:00
Andrew M. Kuchling 3822af6d3a Add *,**,@ to index, as suggested by
http://farmdev.com/thoughts/24/what-does-the-def-star-variable-or-def-asterisk-parameter-syntax-do-in-python-/

The right entry type to use isn't clear; operator seems wrong, because *,**,@
aren't being used in expressions here.  I put them as 'statement'; 'syntax'
might be better.
2008-04-15 13:10:07 +00:00
Georg Brandl aa0de3f130 #997912: acknowledge nested scopes in tutorial. 2008-01-21 16:51:51 +00:00
Georg Brandl 35f8861386 Add tutorial section about coding style. 2008-01-06 22:05:40 +00:00
Georg Brandl b19be571e0 Some cleanup in the docs. 2007-12-29 10:57:00 +00:00
Georg Brandl 706132bbae Make example about hiding None return values at the prompt clearer. 2007-10-30 17:57:12 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00