Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
2539451f
Commit
2539451f
authored
Oct 12, 1999
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a typo in a docstring, and slightly expanded the module
docstring info for readfp().
parent
2c7b8fe6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Lib/ConfigParser.py
Lib/ConfigParser.py
+2
-3
No files found.
Lib/ConfigParser.py
View file @
2539451f
...
...
@@ -50,7 +50,7 @@ ConfigParser -- responsible for for parsing a list of
readfp(fp, filename=None)
read and parse one configuration file, given as a file object.
The filename defaults to fp.name; it is only used in error
messages.
messages
(if fp has no `name' attribute, the string `<???>' is used)
.
get(section, option, raw=0, vars=None)
return a string value for the named option. All % interpolations are
...
...
@@ -188,11 +188,10 @@ class ConfigParser:
return
opts
.
has_key
(
option
)
def
read
(
self
,
filenames
):
"""Read and parse a filename or a list of filenames.
Files that cannot be opened are silently ignored; this is
designed so that you can specif
i
y a list of potential
designed so that you can specify a list of potential
configuration file locations (e.g. current directory, user's
home directory, systemwide directory), and all existing
configuration files in the list will be read. A single
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment