Commit b3cbb4de authored by Fred Drake's avatar Fred Drake

Describe the search up the containment chain for substitution values.

parent 44ba1767
...@@ -547,8 +547,13 @@ Notes: ...@@ -547,8 +547,13 @@ Notes:
\end{description} \end{description}
In each case, \var{name} is a non-empty sequence of alphanumeric and In each case, \var{name} is a non-empty sequence of alphanumeric and
underscore characters not starting with a digit. If there is not underscore characters not starting with a digit. If there is not a
a replacement for \var{name}, it is replaced with an empty string. replacement for \var{name}, these functions search up the containment
chain for a suitable replacement. The containment chain is found by
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.
For these functions, the \var{mapping} argument can be a \class{dict}, For these functions, the \var{mapping} argument can be a \class{dict},
or any type that supports the \method{get()} method of the mapping or any type that supports the \method{get()} method of the mapping
......
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