Commit Graph

319 Commits

Author SHA1 Message Date
Georg Brandl 5a006b3978 Bug #1710295: exceptions are now new-style classes. 2007-05-01 06:04:11 +00:00
Georg Brandl 58ef8cd29c Version fix (bug #1708710) 2007-04-27 19:20:00 +00:00
Steve Holden 6e6eaa7a67 Minor wording change on slicing aide-memoire. 2007-04-26 14:23:12 +00:00
Raymond Hettinger 9e56d5beeb SF #1382213: Tutorial section 9.5.1 ignores MRO for new-style classes 2007-04-03 01:39:43 +00:00
Fred Drake 7a7cbae77b fix typo (extraneous ")") 2007-01-26 16:28:44 +00:00
Georg Brandl 6840fcd800 Bug #1560114: the Mac filesystem does have accurate information
about the case of filenames.
2006-10-12 11:46:57 +00:00
Georg Brandl 21d994390c Bug #1567375: a minor logical glitch in example description. 2006-09-30 07:24:48 +00:00
George Yoshida 5cee720aa6 SF bug #1567976 : fix typo
Will backport to 2.5.
2006-09-30 05:14:02 +00:00
Georg Brandl f29882d8e7 evalfile() should be execfile(). 2006-09-01 22:30:52 +00:00
Nick Coghlan 94a98e4fc6 Update the tutorial section on relative imports 2006-07-06 13:04:56 +00:00
Richard Jones 7b9558d37d Conversion of exceptions over from faked-up classes to new-style C types. 2006-05-27 12:29:24 +00:00
Fred Drake f25fa6ddb9 avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to
guillemets; no need for magic here
2006-05-03 02:04:40 +00:00
Fred Drake a5f1fd09eb minor adjustment suggested by Peter Gephardt 2006-04-26 05:19:39 +00:00
Nick Coghlan 09b1bc39e7 Take 2 on mentioning the with statement, this time without inadvertently killing the Unicode examples 2006-04-23 16:35:19 +00:00
Nick Coghlan e0ea50bc3b Add a (very) brief mention of the with statement to the end of chapter 8 2006-04-23 16:05:04 +00:00
Georg Brandl 9d548374e4 Add two entries about how to actually clear a list. 2006-04-13 08:04:56 +00:00
Fredrik Lundh 31fe35bdee end the sentence... 2006-04-02 07:59:55 +00:00
Georg Brandl 8a85ac660b Update tutorial wrt PEP 341 try-except-finally statement 2006-03-19 11:20:29 +00:00
Brett Cannon 54ac29497e Document PEP 352 changes. Also added GeneratorExit. 2006-03-01 22:10:49 +00:00
Andrew M. Kuchling 50f8169fb6 From a suggestion on c.l.py: modernize the introduction to the tutorial.
* Remove talk of shell scripting, replacing it by some more current examples
  * Mention C++ and Java as well as C

Raymond H., please feel free to rewrite or revert as you see fit.
If the changes are OK, they could be backported to the 2.4-maint branch.
2005-12-13 15:49:37 +00:00
Georg Brandl 3c9f9ac62b Added example for the ** operator in function calls 2005-11-22 19:50:14 +00:00
Martin v. Löwis ab0f947a21 Remove .cvsignore files, as they live in svn:ignore
properties now.
2005-10-30 22:01:41 +00:00
Andrew M. Kuchling 14f4fd0a9e Add more links to the 'What Next?' section; rewrite to be briefer 2005-09-13 19:56:06 +00:00
Andrew M. Kuchling ef369cd9cb Shorten run-on sentence 2005-09-12 12:45:37 +00:00
Andrew M. Kuchling b5d21183b4 Update link 2005-09-12 12:44:20 +00:00
Andrew M. Kuchling 8e13af3f7a Update link 2005-09-12 12:43:57 +00:00
Raymond Hettinger 2e8665ae43 More tutorial nits. 2005-08-23 18:26:00 +00:00
Raymond Hettinger 71da38b1a7 SF bug #1168135: Python 2.5a0 Tutorial errors and observations (Contributed by Michael R Bax.) 2005-08-23 18:02:28 +00:00
Raymond Hettinger e66d437139 SF bug #1168135: Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)
2005-08-23 15:00:45 +00:00
Andrew M. Kuchling 5c419a9fe4 In an e-mail to the webmaster alias, some suggested adding this text. Windows users, please correct/expand as necessary. 2005-08-23 13:48:21 +00:00
Raymond Hettinger f755432f41 SF bug #1168135: Python 2.5a0 Tutorial errors and observations
(Contributed by Michael R Bax.)
2005-08-21 12:35:29 +00:00
Georg Brandl 8b687cf683 bug [ 969757 ] function and method objects confounded in Tutorial 2005-07-08 21:36:36 +00:00
Raymond Hettinger 02c64d5684 Note that files are iterable. 2005-06-28 00:16:08 +00:00
Raymond Hettinger 5a34afb745 * Show the keyword argument form of dict().
* Note that dict works with the "in" keyword.
2005-06-27 23:36:47 +00:00
Raymond Hettinger 610d9dd38d Fix typo. 2005-06-17 10:25:33 +00:00
Raymond Hettinger eeed58cd25 SF bug #1219448: small output bug 2005-06-14 08:57:28 +00:00
Raymond Hettinger 0f43983aa3 SF bug #1201807: Glossary listing bug 2005-05-14 17:18:31 +00:00
Michael W. Hudson e8dead47e6 Fix
[ python-Bugs-1190599 ] dir() docs show incorrect output

though not entirely how it's suggested in the bug report.
2005-04-27 09:41:23 +00:00
Brett Cannon 7706c2da14 Update references specifying "Macintosh" to mean OS X semantics and not Mac OS
9.

Applies patch #1095802.  Thanks Jack Jansen.
2005-02-13 22:50:04 +00:00
Fred Drake 2f8c6589f5 fix typo 2005-01-12 19:11:45 +00:00
Raymond Hettinger d4f5b07e5d Add duck-typing to the glossary. 2005-01-11 16:11:13 +00:00
Johannes Gijsbers 158df10341 Bug #1098497: various small typo's, grammar and markup nits. 2005-01-09 00:12:48 +00:00
Raymond Hettinger 68804315e0 SF Patch #1093896: miscellaneous doc typos 2005-01-01 00:28:46 +00:00
Raymond Hettinger 784ab76c87 Remove the deprecated whrandom module. 2004-12-04 10:50:51 +00:00
Raymond Hettinger 65a350d733 SF bug #1076955: Tutorial corrections Part II 2004-12-02 07:29:43 +00:00
Raymond Hettinger aa2b2aa5a3 SF bug #1076955: Tutorial corrections Part I
(Submitted by some anonymous person with an amazing eye for grammer nits.)
2004-12-02 06:08:42 +00:00
Raymond Hettinger 29eb40c365 Fix nit. 2004-12-01 04:22:38 +00:00
Fred Drake 6e3fa2911d REVERT revision 1.260; the trunk is FROZEN.
This change can be made on the trunk and release24-maint branch after
the trunk is unfrozen.
2004-11-29 13:12:44 +00:00
Raymond Hettinger a98825ce48 Fix a nit. 2004-11-29 08:53:14 +00:00
Raymond Hettinger 83e4a146db SF bug #1067018: Obsolete info in Tutorial 9.1
Removed a section that is out of date after type/class unification.
While there was still some validity, the paragraph offered more
confusion that insight.
2004-11-18 06:20:30 +00:00