[Python-checkins] Fix incorrectly documented attribute in csv docs (GH-101250)

miss-islington webhook-mailer at python.org
Sat Feb 18 20:02:25 EST 2023


https://github.com/python/cpython/commit/d104234f51bf1f88589ea705a6cfe1e674b4fe03
commit: d104234f51bf1f88589ea705a6cfe1e674b4fe03
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-02-18T17:02:18-08:00
summary:

Fix incorrectly documented attribute in csv docs (GH-101250)

(cherry picked from commit 36b670908b3546f46283aae4dbf311e53289f3d1)

Co-authored-by: Reza Rastak <rezarastak at users.noreply.github.com>

files:
M Doc/library/csv.rst

diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index 3a41ae284f32..5e54f4a3e4fc 100644
--- a/Doc/library/csv.rst
+++ b/Doc/library/csv.rst
@@ -450,7 +450,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



More information about the Python-checkins mailing list