@@ -963,16 +963,17 @@ ConfigParser Objects
963
963
964
964
.. method :: read(filenames, encoding=None)
965
965
966
- Attempt to read and parse a list of filenames, returning a list of
966
+ Attempt to read and parse an iterable of filenames, returning a list of
967
967
filenames which were successfully parsed.
968
968
969
969
If *filenames * is a string, a :class: `bytes ` object or a
970
970
:term: `path-like object `, it is treated as
971
971
a single filename. If a file named in *filenames * cannot be opened, that
972
- file will be ignored. This is designed so that you can specify a list of
973
- potential configuration file locations (for example, the current
974
- directory, the user's home directory, and some system-wide directory),
975
- and all existing configuration files in the list will be read.
972
+ file will be ignored. This is designed so that you can specify an
973
+ iterable of potential configuration file locations (for example, the
974
+ current directory, the user's home directory, and some system-wide
975
+ directory), and all existing configuration files in the iterable will be
976
+ read.
976
977
977
978
If none of the named files exist, the :class: `ConfigParser `
978
979
instance will contain an empty dataset. An application which requires
0 commit comments