From 464109ad3f7969d31aac3afa94a2da21334b2e64 Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Wed, 18 Mar 2009 22:23:17 +0000 Subject: Fix grammar. --- docs/glossary.rst | 2 +- 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 -- cgit v1.2.3