[Zope3-checkins] CVS: Zope3/src/zope/app/traversing - __init__.py:1.16

Steve Alexander steve@cat-box.net
Mon, 31 Mar 2003 06:51:22 -0500


Update of /cvs-repository/Zope3/src/zope/app/traversing
In directory cvs.zope.org:/tmp/cvs-serv25047/zope/app/traversing

Modified Files:
	__init__.py 
Log Message:
Improved docstring.


=== Zope3/src/zope/app/traversing/__init__.py 1.15 => 1.16 ===
--- Zope3/src/zope/app/traversing/__init__.py:1.15	Mon Mar 31 06:37:36 2003
+++ Zope3/src/zope/app/traversing/__init__.py	Mon Mar 31 06:51:22 2003
@@ -25,7 +25,14 @@
 _marker = object()
 
 def joinPath(path, *args):
-    """Concatenate a path and various args with slashes"""
+    """Join the given args to the path, separated by slashes.
+
+    Returns a unicode path.
+    The path should be well-formed, and not end in a '/' unless it is the
+    root path.
+    The positional arguments are strings to be added to the path as new path
+    segments. These segments should not contain the '/' character.
+    """
     if not args:
         return unicode(path)
     if path != u'/':