diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index f7e85f2baa73e8..0aad2a0d523cb0 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -454,7 +454,7 @@ Reader objects have the following public attributes: DictReader objects have the following public attribute: -.. attribute:: csvreader.fieldnames +.. attribute:: DictReader.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