Tres Seaver
2013-07-13 22a2152cf0514410c6874b673cc1ec1f843a7179
Merge pull request #1043 from merwok/master

Minor markup update to clarify object type
1 files modified
4 ■■■■ changed files
pyramid/config/routes.py 4 ●●●● patch | view | raw | blame | history
pyramid/config/routes.py
@@ -90,10 +90,10 @@
          ``traverse`` argument provided to ``add_route`` is
          ``/{article}``, when a request comes in that causes the route
          to match in such a way that the ``article`` match value is
          '1' (when the request URI is ``/articles/1/edit``), the
          ``'1'`` (when the request URI is ``/articles/1/edit``), the
          traversal path will be generated as ``/1``.  This means that
          the root object's ``__getitem__`` will be called with the
          name ``1`` during the traversal phase.  If the ``1`` object
          name ``'1'`` during the traversal phase.  If the ``'1'`` object
          exists, it will become the :term:`context` of the request.
          :ref:`traversal_chapter` has more information about
          traversal.