Commit 724a9a79 authored by Fred Drake's avatar Fred Drake

Add isname() function to ZConfig.Substitution.

parent 90af066a
......@@ -627,8 +627,7 @@ containment chain is optional.
indirectly.
\end{funcdesc}
An additional function is provided which provides some interesting
information about a source string:
Some additional functions are provided:
\begin{funcdesc}{getnames}{s}
Return a list of the names referenced by the string \var{s}. The
......@@ -636,6 +635,11 @@ information about a source string:
be included once, even if it is referenced multiple times.
\end{funcdesc}
\begin{funcdesc}{isname}{s}
Returns \code{True} if \var{s} is a valid name for a substitution
text, otherwise returns \code{False}.
\end{funcdesc}
The following exceptions are defined:
\begin{excdesc}{SubstitutionError}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment