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
a5b06f3b
Commit
a5b06f3b
authored
Jul 14, 2000
by
Eric S. Raymond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the second round of ConfigParser changes.
parent
9ea6ef75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
Doc/lib/libcfgparser.tex
Doc/lib/libcfgparser.tex
+14
-1
No files found.
Doc/lib/libcfgparser.tex
View file @
a5b06f3b
...
...
@@ -160,8 +160,21 @@ If the given section exists, set the given option to the specified value;
otherwise raise
\exception
{
NoSectionError
}
. (New in 1.6)
\end{methoddesc}
\begin{methoddesc}
{
write
}{
fileobect
}
\begin{methoddesc}
{
write
}{
fileob
j
ect
}
Write a representation of the configuration to the specified file
object. This representation can be parsed by a future
\method
{
read()
}
call. (New in 1.6)
\end{methoddesc}
\begin{methoddesc}
{
remove
_
option
}{
section, option
}
Remove the specified
\var
{
option
}
from the specified
\var
{
section
}
.
If the section does not exist, raise
\exception
{
NoSectionError
}
.
If the option existed to be removed, return 1; otherwise return 0.
(New in 1.6)
\end{methoddesc}
\begin{methoddesc}
{
remove
_
section
}{
section
}
Remove the specified
\var
{
section
}
from the configuration.
If the section in fact existed, return 1. Otherwise return 0.
\end{methoddesc}
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