summaryrefslogtreecommitdiff
path: root/docs/narr/traversal.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-11-19 21:35:37 -0600
committerMichael Merickel <michael@merickel.org>2018-11-19 21:35:37 -0600
commit8c943501e87bed7836bb9ec1b216a561cc3f6be6 (patch)
tree1008b955958d13fdb68dd6b5c8e2494347b3d094 /docs/narr/traversal.rst
parente5253db2bfe3fa42f03a6ef10f353674b497afb4 (diff)
downloadpyramid-8c943501e87bed7836bb9ec1b216a561cc3f6be6.tar.gz
pyramid-8c943501e87bed7836bb9ec1b216a561cc3f6be6.tar.bz2
pyramid-8c943501e87bed7836bb9ec1b216a561cc3f6be6.zip
rip out moar unicode prefixes
Diffstat (limited to 'docs/narr/traversal.rst')
-rw-r--r--docs/narr/traversal.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/traversal.rst b/docs/narr/traversal.rst
index 9b91e21ba..769d0984c 100644
--- a/docs/narr/traversal.rst
+++ b/docs/narr/traversal.rst
@@ -237,7 +237,7 @@ uses this algorithm to find a :term:`context` resource and a :term:`view name`.
The traversal algorithm by default attempts to first URL-unquote and then
Unicode-decode each path segment derived from ``PATH_INFO`` from its
- natural byte string (``str`` type) representation. URL unquoting is
+ natural string representation. URL unquoting is
performed using the Python standard library ``urllib.unquote`` function.
Conversion from a URL-decoded string into Unicode is attempted using the
UTF-8 encoding. If any URL-unquoted path segment in ``PATH_INFO`` is not
@@ -246,10 +246,10 @@ uses this algorithm to find a :term:`context` resource and a :term:`view name`.
to the ``__getitem__`` of any resource during traversal.
Thus a request with a ``PATH_INFO`` variable of ``/a/b/c`` maps to the
- traversal sequence ``[u'a', u'b', u'c']``.
+ traversal sequence ``['a', 'b', 'c']``.
#. :term:`Traversal` begins at the root resource returned by the root factory.
- For the traversal sequence ``[u'a', u'b', u'c']``, the root resource's
+ For the traversal sequence ``['a', 'b', 'c']``, the root resource's
``__getitem__`` is called with the name ``'a'``. Traversal continues
through the sequence. In our example, if the root resource's
``__getitem__`` called with the name ``a`` returns a resource (a.k.a.