summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos de la Guardia <cguardia@yahoo.com>2011-05-09 09:36:47 -0700
committerCarlos de la Guardia <cguardia@yahoo.com>2011-05-09 09:36:47 -0700
commit06d5ce3b7f54326b0bf7ca26c9e66e4c4dc005ff (patch)
treef43ce65e3857a1af3d8827de22df60473ff924f3
parentc74ff77ab9ddeb0fa8387524ce916f4eca7edcd8 (diff)
parentf8d20a2deb08a83674f72a58301733a9a3faa1b4 (diff)
downloadpyramid-06d5ce3b7f54326b0bf7ca26c9e66e4c4dc005ff.tar.gz
pyramid-06d5ce3b7f54326b0bf7ca26c9e66e4c4dc005ff.tar.bz2
pyramid-06d5ce3b7f54326b0bf7ca26c9e66e4c4dc005ff.zip
Merge pull request #188 from dairiki/master
Trivial doc typos...
-rw-r--r--pyramid/traversal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/traversal.py b/pyramid/traversal.py
index 48f8017f6..73f994bda 100644
--- a/pyramid/traversal.py
+++ b/pyramid/traversal.py
@@ -333,14 +333,14 @@ def resource_path_tuple(resource, *elements):
``elements`` will be appended as elements in the tuple
representing the resource path. For instance, if the resource's
path is ``('', 'foo', 'bar')`` and elements equals ``('a', 'b')``,
- the returned tuple will be ``('', 'foo', 'bar', 'a', b')``. The
+ the returned tuple will be ``('', 'foo', 'bar', 'a', 'b')``. The
first element of this tuple will always be the empty string (a
leading empty string element in a path tuple represents that the
path is absolute).
This function is a logical inverse of
:func:`pyramid.traversal.find_resource`: it can be used to
- generate path references that can later be resolved that function.
+ generate path references that can later be resolved by that function.
The ``resource`` passed in *must* be :term:`location`-aware.