Commit Graph

93 Commits

Author SHA1 Message Date
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
Georg Brandl a6168f9e0a Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925.
2008-05-25 07:20:14 +00:00
Brett Cannon 2ee0e8eaec Revert the renaming of repr to reprlib. 2008-05-23 05:03:59 +00:00
Alexandre Vassalotti 50a1acb2ab Changed references to the reprlib module to use its new name. 2008-05-16 06:58:49 +00:00
Georg Brandl 7a148c2357 Fix-up docs for socketserver and queue renaming. 2008-05-12 10:03:16 +00:00
Georg Brandl 605a0c6f7f reload() takes the module itself. 2008-05-11 07:02:17 +00:00
Georg Brandl 68fd63ba9a Add a note about using reload(). 2008-05-09 06:39:58 +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 751a0362aa Don't offend snake lovers. 2008-04-12 19:05:37 +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 0267781742 Fix lots of broken links in the docs, found by Sphinx' external link checker. 2008-03-15 00:20:19 +00:00
Georg Brandl 6c45dc12b3 Add isinstance/issubclass to tutorial. 2008-03-06 07:31:34 +00:00
Georg Brandl 26bab5f92a Little clarification of assignments. 2008-03-06 07:22:09 +00:00
Georg Brandl db9ff5f565 It's 2.6 now. 2008-03-02 06:28:16 +00:00
Georg Brandl 3ef2063ec8 #2194: fix some typos. 2008-02-26 19:13:45 +00:00
Georg Brandl 4e37c66262 Don't reference pyshell. 2008-02-22 12:56:34 +00:00
Raymond Hettinger 7d5fbaee42 Demonstrate new except/as syntax. 2008-01-30 00:51:58 +00:00
Georg Brandl 2a7d991c6c Clarify "b" mode under Unix. 2008-01-26 14:02:38 +00:00
Gregory P. Smith 7b7ce7854c Fix issue1789: The tutorial contained a misuse of the struct module.
(also remove an unneeded import struct from test_largefile)
2008-01-24 09:38:26 +00:00
Georg Brandl aa0de3f130 #997912: acknowledge nested scopes in tutorial. 2008-01-21 16:51:51 +00:00
Georg Brandl 23bf837a37 Add blurb about executable scripts on Windows. #760657. 2008-01-20 19:40:58 +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 4257ca7afb Argh, wrong version. 2007-12-15 09:36:37 +00:00
Georg Brandl 07b55eadc2 Add note about future import needed for with statement. 2007-12-15 09:34:59 +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 584265b001 Add more entries to the glossary.
Written by Jeff Wheeler for GHOP.
2007-12-02 14:58:50 +00:00
Neal Norwitz 76e4d62822 Use a slightly more recent version than 1.5.2b2. 2007-11-19 01:46:20 +00:00
Georg Brandl 87426cb151 Fix misleading example. 2007-11-09 13:08:48 +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 a739503881 Add :term:s for "new-style class". 2007-10-21 12:15:05 +00:00
Georg Brandl cf3fb25932 Add :term: for generators. 2007-10-21 10:52:38 +00:00
Georg Brandl 5e52db035d Add :term:s for descriptors. 2007-10-21 10:45:46 +00:00
Georg Brandl e36a652d0c Make a path more Unix-standardy. 2007-10-20 15:21:22 +00:00
Georg Brandl 5d242eef74 alternate -> alternative. 2007-09-20 08:44:59 +00:00
Georg Brandl 437e6a3b15 Move the glossary from the tutorial to toplevel.
Prepare for cross-linking with the new .. glossary:: directive.
2007-08-17 06:27:11 +00:00
Georg Brandl 690b97c005 Note that smtplib example needs a mailserver. 2007-08-17 05:58:36 +00:00
Georg Brandl ee354b1e96 Fix problem reported by Andre Roberge. 2007-08-17 05:52:24 +00:00
Georg Brandl 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00