diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-01-19 03:34:51 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-01-19 03:34:51 +0000 |
| commit | 1de5ec90e0ecb81ee1f4c4ade0b11c2cc8cf646a (patch) | |
| tree | b9209a1086b8aed62b7a451786d9e4feeb770ac8 /docs/narr/traversal.rst | |
| parent | 37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7 (diff) | |
| download | pyramid-1de5ec90e0ecb81ee1f4c4ade0b11c2cc8cf646a.tar.gz pyramid-1de5ec90e0ecb81ee1f4c4ade0b11c2cc8cf646a.tar.bz2 pyramid-1de5ec90e0ecb81ee1f4c4ade0b11c2cc8cf646a.zip | |
Spellcheck.
Diffstat (limited to 'docs/narr/traversal.rst')
| -rw-r--r-- | docs/narr/traversal.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/traversal.rst b/docs/narr/traversal.rst index 2388aa7f3..ef3803b13 100644 --- a/docs/narr/traversal.rst +++ b/docs/narr/traversal.rst @@ -92,7 +92,7 @@ query string elements or fragment element. For example the Traversal treats the ``PATH_INFO`` segment of a URL as a sequence of path segments. For example, the ``PATH_INFO`` string ``/a/b/c`` is -coverted to the sequence ``['a', 'b', 'c']``. +converted to the sequence ``['a', 'b', 'c']``. After the path info is converted, a lookup is performed against the object graph for each path segment. Each lookup uses the @@ -105,7 +105,7 @@ For example, if the path info sequence is ``['a', 'b', 'c']``: ``__getitem__`` method using that value (``a``) as an argument; we'll presume it succeeds. -- When the root object's ``__getitem__`` succeeeds it will return an +- When the root object's ``__getitem__`` succeeds it will return an object, which we'll call "A". The :term:`context` temporarily becomes the "A" object. @@ -518,7 +518,7 @@ expected to return a response. ``context`` attribute of the request object, e.g. ``request.context``. The :term:`view name` is available as the ``view_name`` attribute of the request object, - e.g. ``request.view_name``. Other :mod:`repoze.bfg` -speficic + e.g. ``request.view_name``. Other :mod:`repoze.bfg` -specific request attributes are also available as described in :ref:`special_request_attributes`. @@ -536,5 +536,5 @@ deal with traversal, such as traversal invocation from within application code. The :func:`repoze.bfg.url.model_url` function generates a URL when -given an object retrived from an object graph. +given an object retrieved from an object graph. |
