Commit Graph

31 Commits

Author SHA1 Message Date
Raymond Hettinger
5a3e8e5bc0 Issue 13573: Document that csv.writer uses str() for floats instead of repr(). 2016-02-27 23:34:54 -08:00
Zachary Ware
d0384044ee Fix grammatical error in csv docs.
Reported by Nat Dunn on docs@
2015-09-11 10:51:47 -05:00
Berker Peksag
8a9c682d41 Issue #20351: Add examples for csv.DictReader and csv.DictWriter.
Patch by Charles-Axel Dein.
2014-11-24 23:50:46 +02:00
R David Murray
17a4322d09 #20628: wrap lines to < 80. 2014-02-24 15:36:45 -05:00
R David Murray
d2b5b316ab #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Patch by Sean Rodman.
2014-02-24 15:35:19 -05:00
Ezio Melotti
355637be32 #16053: document csv.Dialect.strict. Patch by Kushal Das. 2012-11-18 12:55:35 +02:00
Andrew Svetlov
1625d88709 Issue #16341: convert examples to use except ... as ... syntax. 2012-10-30 21:56:43 +02:00
Ezio Melotti
a733d814be #15932: use with statement in csv doc examples. 2012-09-15 05:46:24 +03:00
Hynek Schlawack
7d978902d0 #14880: Fix kwargs notation in csv.reader, .writer & .register_dialect
Patch by Chris Rebert.
2012-08-28 12:33:46 +02:00
Éric Araujo
06176a89ff Adapt mentions of future changes in doc 2012-07-02 17:46:40 -04:00
Hynek Schlawack
e58ce01f30 #14804: Remove [] around optional arguments with default values
Mostly just mechanical removal of []. In some rare cases I've pulled the
default value up into the argument list.
2012-05-22 10:27:40 +02:00
Eli Bendersky
ec40bab21e Issue #11426: use 'with' statements on open files in CSV examples 2011-03-13 08:45:19 +02:00
Skip Montanaro
c9a5ed04c1 Make sure all files are opened in binary mode. 2010-07-30 02:04:10 +00:00
Dirkjan Ochtman
8614817875 Fix #1537721: add writeheader() method to csv.DictWriter.
Reviewed by skip.montanaro and thomas.wouters.
2010-02-23 21:09:52 +00:00
R. David Murray
a5dcf2125f Remove redundant sentence. 2009-11-09 14:18:14 +00:00
Skip Montanaro
56366cc6eb missing module ref (issue6723) 2009-08-18 14:37:52 +00:00
Georg Brandl
9fa61bb37d #6577: fix (hopefully) all links to builtin instead of module/class-specific objects. 2009-07-26 14:19:57 +00:00
Skip Montanaro
9a1337b95e clarify the type of data returned 2009-03-25 00:52:11 +00:00
Benjamin Peterson
a7b55a33f8 revert r69777 since all the experts agree that extra import lines distract from the code 2009-02-20 03:31:23 +00:00
Jeroen Ruigrok van der Werven
5149742e8b Since we recommend one module per import line, reflect this also in the
documentation.
2009-02-19 18:52:21 +00:00
Georg Brandl
c62ef8b4d9 Remove trailing whitespace. 2009-01-03 20:55:06 +00:00
Skip Montanaro
a032bf41f6 accept issue 3436 2008-08-08 22:52:51 +00:00
Benjamin Peterson
c7b05920d6 reformat some documentation of classes so methods and attributes are under the class directive 2008-04-25 01:29:10 +00:00
Georg Brandl
14aaee143d #1686390: add example for csv.Sniffer use. 2008-01-06 16:04:56 +00:00
Georg Brandl
722e1011c9 Add examples to csv, pprint and traceback docs.
Written by Ross for GHOP.
2007-12-05 17:56:50 +00:00