summaryrefslogtreecommitdiffstats
path: root/Doc/library/csv.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-19 01:04:01 (GMT)
committerGitHub <noreply@github.com>2023-02-19 01:04:01 (GMT)
commit62db23c9445b5fe6a37d70cfb5661e443002de9f (patch)
treee589339dad889b45d347c34c0d5cc1ff6fc8c245 /Doc/library/csv.rst
parent5220c2df9eb5bf0333b2bdfceea98ec80a140fd6 (diff)
downloadcpython-62db23c9445b5fe6a37d70cfb5661e443002de9f.zip
cpython-62db23c9445b5fe6a37d70cfb5661e443002de9f.tar.gz
cpython-62db23c9445b5fe6a37d70cfb5661e443002de9f.tar.bz2
Fix incorrectly documented attribute in csv docs (GH-101250)
(cherry picked from commit 36b670908b3546f46283aae4dbf311e53289f3d1) Co-authored-by: Reza Rastak <rezarastak@users.noreply.github.com>
Diffstat (limited to 'Doc/library/csv.rst')
-rw-r--r--Doc/library/csv.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst
index f7e85f2..0aad2a0 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