diff options
| author | Casey Duncan <casey.duncan@gmail.com> | 2011-01-01 12:25:24 -0700 |
|---|---|---|
| committer | Casey Duncan <casey.duncan@gmail.com> | 2011-01-01 12:25:24 -0700 |
| commit | 234c0d612a82e9ae00a5c44953b0900520df5184 (patch) | |
| tree | 2f98a3d6298af8b7d24e598d72b9e5b666f8ed3c | |
| parent | 2ceb1f3064de5be4765a47800135400e992127ee (diff) | |
| download | pyramid-234c0d612a82e9ae00a5c44953b0900520df5184.tar.gz pyramid-234c0d612a82e9ae00a5c44953b0900520df5184.tar.bz2 pyramid-234c0d612a82e9ae00a5c44953b0900520df5184.zip | |
reword for clarity
| -rw-r--r-- | docs/narr/traversal.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/narr/traversal.rst b/docs/narr/traversal.rst index bee9ce57b..291faf725 100644 --- a/docs/narr/traversal.rst +++ b/docs/narr/traversal.rst @@ -34,13 +34,13 @@ hostname and port number, but before any query string elements or fragment element. For example the ``PATH_INFO`` portion of the URL ``http://example.com:8080/a/b/c?foo=1`` is ``/a/b/c``. -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 converted to -the sequence ``['a', 'b', 'c']``. +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 +converted to the sequence ``['a', 'b', 'c']``. -After the path info is converted, a lookup is performed against the resource -tree for each path segment. Each lookup uses the ``__getitem__`` method of a -resource in the tree. +This path sequence is then used to descend through the :term:`resource +tree`, looking up a resource for each path segment. Each lookup uses the +``__getitem__`` method of a resource in the tree. For example, if the path info sequence is ``['a', 'b', 'c']``: |
