mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-33798: Update csv document about dict order (GH-7490)
This commit is contained in:
parent
214f18e49f
commit
6860629d87
1 changed files with 1 additions and 3 deletions
|
@ -203,9 +203,7 @@ The :mod:`csv` module defines the following classes:
|
|||
:class:`writer` instance.
|
||||
|
||||
Note that unlike the :class:`DictReader` class, the *fieldnames* parameter
|
||||
of the :class:`DictWriter` is not optional. Since Python's :class:`dict`
|
||||
objects are not ordered, there is not enough information available to deduce
|
||||
the order in which the row should be written to file *f*.
|
||||
of the :class:`DictWriter` class is not optional.
|
||||
|
||||
A short usage example::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue