From: Brett Cannon Date: Tue, 16 Oct 2007 23:24:06 +0000 (+0000) Subject: Remove ``:const:`` notation on None in parameter list. Since the markup is not X-Git-Tag: v2.6a1~1179 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f67a677d0a328fc53b2907df937710ec3a502a3;p=thirdparty%2FPython%2Fcpython.git Remove ``:const:`` notation on None in parameter list. Since the markup is not rendered for parameters it just showed up as ``:const:`None` `` in the output. --- diff --git a/Doc/library/csv.rst b/Doc/library/csv.rst index 4f2c0ba3e01b..34867f7425e7 100644 --- a/Doc/library/csv.rst +++ b/Doc/library/csv.rst @@ -143,7 +143,7 @@ The :mod:`csv` module defines the following functions: The :mod:`csv` module defines the following classes: -.. class:: DictReader(csvfile[, fieldnames=:const:None,[, restkey=:const:None[, restval=None[, dialect='excel'[, *args, **kwds]]]]]) +.. class:: DictReader(csvfile[, fieldnames=None[, restkey=None[, restval=None[, dialect='excel'[, *args, **kwds]]]]]) Create an object which operates like a regular reader but maps the information read into a dict whose keys are given by the optional *fieldnames* parameter.