diff options
Diffstat (limited to 'Doc/library/csv.rst')
-rw-r--r-- | Doc/library/csv.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 9043dbc..588a45c 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -372,6 +372,18 @@ Reader objects have the following public attributes: +DictReader objects have the following public attribute: + + +.. attribute:: csvreader.fieldnames + + If not passed as a parameter when creating the object, this attribute is + initialized upon first access or when the first record is read from the + file. + + .. versionchanged:: 2.6 + + Writer Objects -------------- |