mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Add cross-references to the glossary entry for file objects.
This commit is contained in:
parent
6a11a98b7c
commit
11cb961b38
33 changed files with 165 additions and 166 deletions
|
@ -50,9 +50,9 @@ The :mod:`csv` module defines the following functions:
|
|||
|
||||
Return a reader object which will iterate over lines in the given *csvfile*.
|
||||
*csvfile* can be any object which supports the :term:`iterator` protocol and returns a
|
||||
string each time its :meth:`!next` method is called --- file objects and list
|
||||
objects are both suitable. If *csvfile* is a file object, it should be opened
|
||||
with ``newline=''``. [#]_ An optional
|
||||
string each time its :meth:`!next` method is called --- :term:`file objects
|
||||
<file object>` and list objects are both suitable. If *csvfile* is a file object,
|
||||
it should be opened with ``newline=''``. [#]_ An optional
|
||||
*dialect* parameter can be given which is used to define a set of parameters
|
||||
specific to a particular CSV dialect. It may be an instance of a subclass of
|
||||
the :class:`Dialect` class or one of the strings returned by the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue