Changed safe_join() docstring from [5750] to use active verbs. See also [5756]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-07-25 03:18:17 +00:00
parent 6b7c33286a
commit b263e1704c
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ from os.path import join, normcase, abspath, sep
def safe_join(base, *paths): def safe_join(base, *paths):
""" """
Join one or more path components to the base path component intelligently. Joins one or more path components to the base path component intelligently.
Return a normalized, absolute version of the final path. Returns a normalized, absolute version of the final path.
The final path must be located inside of the base path component (otherwise The final path must be located inside of the base path component (otherwise
a ValueError is raised). a ValueError is raised).