Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
b86317e5
Commit
b86317e5
authored
Dec 03, 2002
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added function ZConfig.Substitution.getnames().
parent
092a072b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
doc/ZConfig/zconfig.tex
doc/ZConfig/zconfig.tex
+11
-0
No files found.
doc/ZConfig/zconfig.tex
View file @
b86317e5
...
...
@@ -599,6 +599,8 @@ looking for an attribute \member{container} on the \var{mapping}
object; the value of that attribute should be another mapping or
\code
{
None
}
. If this search does not yield a value, an empty string
is used.
Note that the lookup is expected to be case-insensitive; this module
will always use a lower-case version of the name to perform the query.
For these functions, the
\var
{
mapping
}
argument can be a
\class
{
dict
}
,
or any type that supports the
\method
{
get()
}
method of the mapping
...
...
@@ -623,6 +625,15 @@ containment chain is optional.
indirectly.
\end{funcdesc}
An additional function is provided which provides some interesting
information about a source string:
\begin{funcdesc}
{
getnames
}{
s
}
Return a list of the names referenced by the string
\var
{
s
}
. The
names will have been converted to lower case. Each name will only
be included once, even if it is referenced multiple times.
\end{funcdesc}
The following exceptions are defined:
\begin{excdesc}
{
SubstitutionError
}
...
...
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