From fcb2f83164536070253feea09b5f444d5eaa9f78 Mon Sep 17 00:00:00 2001 From: Juhana Jauhiainen Date: Sat, 21 Mar 2020 09:56:21 +0200 Subject: [PATCH] Added documentation to csv.DictReader restval --- Doc/library/csv.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 49e22fa73ed265..61d39828e0194a 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -161,7 +161,8 @@ The :mod:`csv` module defines the following classes: If a row has more fields than fieldnames, the remaining data is put in a list and stored with the fieldname specified by *restkey* (which defaults to ``None``). If a non-blank row has fewer fields than fieldnames, the - missing values are filled-in with ``None``. + missing values are filled-in with the value of *restval* (which defaults + to ``None``). All other optional or keyword arguments are passed to the underlying :class:`reader` instance.