[Python-checkins] Fix incorrectly documented attribute in csv docs (GH-101250)
miss-islington
webhook-mailer at python.org
Sat Feb 18 20:04:07 EST 2023
https://github.com/python/cpython/commit/62db23c9445b5fe6a37d70cfb5661e443002de9f
commit: 62db23c9445b5fe6a37d70cfb5661e443002de9f
branch: 3.11
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:04:01-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 f7e85f2baa73..0aad2a0d523c 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
More information about the Python-checkins
mailing list