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
33dde92e
Commit
33dde92e
authored
Sep 27, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the documentation for ConfigParser to match the recent changes.
parent
8ef6767e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
Doc/lib/libcfgparser.tex
Doc/lib/libcfgparser.tex
+13
-2
No files found.
Doc/lib/libcfgparser.tex
View file @
33dde92e
...
...
@@ -47,8 +47,8 @@ Return a new instance of the \class{ConfigParser} class. When
\var
{
defaults
}
is given, it is initialized into the dictionary of
intrinsic defaults. They keys must be strings, and the values must be
appropriate for the
\samp
{
\%
()s
}
string interpolation. Note that
\var
{__
name
__}
is a
lways an intrinsic default; its value is the
section name
.
\var
{__
name
__}
is a
n intrinsic default; its value is the section name,
and will override any value provided in
\var
{
defaults
}
.
\end{classdesc}
\begin{excdesc}
{
NoSectionError
}
...
...
@@ -70,6 +70,11 @@ section.
Exception raised when problems occur performing string interpolation.
\end{excdesc}
\begin{excdesc}
{
InterpolationDepthError
}
Exception raised when string interpolation cannot be completed because
the number of iterations exceeds
\constant
{
MAX
_
INTERPOLATION
_
DEPTH
}
.
\end{excdesc}
\begin{excdesc}
{
MissingSectionHeaderError
}
Exception raised when attempting to parse a file which has no section
headers.
...
...
@@ -79,6 +84,12 @@ headers.
Exception raised when errors occur attempting to parse a file.
\end{excdesc}
\begin{datadesc}
{
MAX
_
INTERPOLATION
_
DEPTH
}
The maximum depth for recursive interpolation for
\method
{
get()
}
when
the
\var
{
raw
}
parameter is false. Setting this does not change the
allowed recursion depth.
\end{datadesc}
\begin{seealso}
\seemodule
{
shlex
}{
Support for a creating
\UNIX
{}
shell-like
...
...
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