Commit Graph

15 Commits

Author SHA1 Message Date
Andrew Svetlov 909d61f7dd Fix grammar 2014-07-24 08:08:15 +03:00
Andrew Svetlov bd5279ea24 Drop double newlines printed in some file iteration examples.
Patch by Steven Kryskalla.
2012-12-08 18:01:27 +02:00
R David Murray 1eda5c9a83 #8652: update errors tutorial.
The tutorial had some outdated examples.  The patch also adds a caution
about the meaning of parens in the except statement.

Patch by Marien Zwart.
2012-06-07 21:46:44 -04:00
Ezio Melotti 2e85f503b1 #6879 - fix misstatement about exceptions 2009-09-16 13:14:05 +00:00
Georg Brandl 49bb9b7f0a #6880: add reference to classes section in exceptions section, which comes earlier. 2009-09-16 09:23:04 +00:00
Georg Brandl 7d4f8fda49 #6777: dont discourage usage of Exception.args or promote usage of Exception.message. 2009-09-04 11:32:18 +00:00
Georg Brandl e2d2704017 #6564: fix section about the two raise syntaxes. 2009-07-24 20:09:46 +00:00
Georg Brandl 5a8d7eb7f1 Use raise X(y). 2009-05-22 07:23:32 +00:00
Georg Brandl c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Georg Brandl c8fd1bc4db Fix typo. 2008-09-16 10:17:45 +00:00
Benjamin Peterson f9ef9881d7 update the tutorial to use str.format 2008-05-26 00:54:22 +00:00
Raymond Hettinger 7d5fbaee42 Demonstrate new except/as syntax. 2008-01-30 00:51:58 +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 8ec7f65613 Move the 2.6 reST doc tree in place. 2007-08-15 14:28:01 +00:00