summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-26 17:17:22 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-26 17:17:22 +0000
commite6e0ea3f041e0273cdac86da663a4a273e1beebb (patch)
tree66df434db2d1fe2bbe1e8439721789d4f8cf7297 /docs/api
parent13437c304ddb8812244c8e2131888efa68297d73 (diff)
downloadpyramid-e6e0ea3f041e0273cdac86da663a4a273e1beebb.tar.gz
pyramid-e6e0ea3f041e0273cdac86da663a4a273e1beebb.tar.bz2
pyramid-e6e0ea3f041e0273cdac86da663a4a273e1beebb.zip
- Added a ``traversal_path`` API to the traversal module; see the
"traversal" API chapter in the docs. This was a function previously known as ``split_path`` that was not an API but people were using it anyway. Unlike ``split_path`` it now returns a tuple instead of a list (as its values are cached).
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/traversal.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api/traversal.rst b/docs/api/traversal.rst
index 8195ddec4..d9b4aabfc 100644
--- a/docs/api/traversal.rst
+++ b/docs/api/traversal.rst
@@ -13,6 +13,8 @@
.. autofunction:: model_path
+ .. autofunction:: traversal_path(path)
+
.. note:: A function named ``model_url`` used to be present in this
module. It was moved to :ref:`url_module` in version 0.6.1.