mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-131885: Update documented signatures for csv.{writer,reader}
(GH-136085)
This commit is contained in:
parent
847d1c2cb4
commit
75f40595e5
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ The :mod:`csv` module defines the following functions:
|
|||
.. index::
|
||||
single: universal newlines; csv.reader function
|
||||
|
||||
.. function:: reader(csvfile, dialect='excel', **fmtparams)
|
||||
.. function:: reader(csvfile, /, dialect='excel', **fmtparams)
|
||||
|
||||
Return a :ref:`reader object <reader-objects>` that will process
|
||||
lines from the given *csvfile*. A csvfile must be an iterable of
|
||||
|
@ -84,7 +84,7 @@ The :mod:`csv` module defines the following functions:
|
|||
Spam, Lovely Spam, Wonderful Spam
|
||||
|
||||
|
||||
.. function:: writer(csvfile, dialect='excel', **fmtparams)
|
||||
.. function:: writer(csvfile, /, dialect='excel', **fmtparams)
|
||||
|
||||
Return a writer object responsible for converting the user's data into delimited
|
||||
strings on the given file-like object. *csvfile* can be any object with a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue