Commit Graph

18 Commits

Author SHA1 Message Date
Terry Jan Reedy dace77c530 Issue #28815: Change '?' to '<module>' in some doc examples.
Patch by Mariatta Wijaya.
2016-09-30 15:38:41 -04:00
Martin Panter b362f75f6e Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
2015-11-02 03:37:02 +00:00
Serhiy Storchaka 12d547a80d Issue #23921: Standardized documentation whitespace formatting.
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
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