]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix incorrectly documented attribute in csv docs (GH-101250)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 19 Feb 2023 01:04:01 +0000 (17:04 -0800)
committerGitHub <noreply@github.com>
Sun, 19 Feb 2023 01:04:01 +0000 (17:04 -0800)
(cherry picked from commit 36b670908b3546f46283aae4dbf311e53289f3d1)

Co-authored-by: Reza Rastak <rezarastak@users.noreply.github.com>
Doc/library/csv.rst

index f7e85f2baa73e8ab61c59e5986f0643d36b923b2..0aad2a0d523cb0349d5a8775e3872116643dfbc2 100644 (file)
@@ -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