diff options
| author | Mike Naberezny <mike@maintainable.com> | 2009-03-18 22:23:17 +0000 |
|---|---|---|
| committer | Mike Naberezny <mike@maintainable.com> | 2009-03-18 22:23:17 +0000 |
| commit | 464109ad3f7969d31aac3afa94a2da21334b2e64 (patch) | |
| tree | c38147351933639a72619037661f0727af509a9b | |
| parent | 59a69068c6acdfc93ef90045d89a52787e33391a (diff) | |
| download | pyramid-464109ad3f7969d31aac3afa94a2da21334b2e64.tar.gz pyramid-464109ad3f7969d31aac3afa94a2da21334b2e64.tar.bz2 pyramid-464109ad3f7969d31aac3afa94a2da21334b2e64.zip | |
Fix grammar.
| -rw-r--r-- | docs/glossary.rst | 2 | ||||
| -rw-r--r-- | repoze/bfg/traversal.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/glossary.rst b/docs/glossary.rst index 19eb304df..a0484bc65 100644 --- a/docs/glossary.rst +++ b/docs/glossary.rst @@ -72,7 +72,7 @@ Glossary in your :mod:`repoze.bfg` application, you are using URL dispatch. See the :ref:`urldispatch_module` for more information. Context - A object in the system that is found during :term:`traversal` or + An object in the system that is found during :term:`traversal` or :term:`URL dispatch` based on URL data; if it's found via traversal, it's usually a :term:`model` object; if it's found via :term:`URL dispatch`, it's a manufactured context object that diff --git a/repoze/bfg/traversal.py b/repoze/bfg/traversal.py index 47ac5fa7f..5935d37d7 100644 --- a/repoze/bfg/traversal.py +++ b/repoze/bfg/traversal.py @@ -56,7 +56,7 @@ def find_root(model): def find_model(model, path): """ Given a model object and a string or tuple representing a path (such as the return value of ``model_path`` or - ``model_path_tuple``), return an context in this application's + ``model_path_tuple``), return a context in this application's model graph at the specified path. The model passed in *must* be :term:`location`-aware. If the path cannot be resolved (if the respective node in the graph does not exist), a KeyError will be |
