default dialect is now "excel", not "excel2000".
This commit is contained in:
parent
534feb5366
commit
0b4707dd78
|
@ -89,7 +89,7 @@ Module Interface
|
|||
The module supports two basic APIs, one for reading and one for
|
||||
writing. The basic reading interface is::
|
||||
|
||||
obj = reader(iterable [, dialect='excel2000']
|
||||
obj = reader(iterable [, dialect='excel']
|
||||
[optional keyword args])
|
||||
|
||||
A reader object is an iterable which takes an interable object which
|
||||
|
@ -105,7 +105,7 @@ as follows::
|
|||
|
||||
The writing interface is similar::
|
||||
|
||||
obj = writer(fileobj [, dialect='excel2000'], [, fieldnames=seq]
|
||||
obj = writer(fileobj [, dialect='excel'], [, fieldnames=seq]
|
||||
[optional keyword args])
|
||||
|
||||
A writer object is a wrapper around a file-like object opened for
|
||||
|
@ -164,7 +164,7 @@ implemented as follows::
|
|||
An excel tab separated dialect can then be defined in user code as
|
||||
follows::
|
||||
|
||||
class exceltsv(csv.excel2000):
|
||||
class exceltsv(csv.excel):
|
||||
delimiter = '\t'
|
||||
|
||||
Three functions are defined in the API to set, get and list dialects::
|
||||
|
|
Loading…
Reference in New Issue