diff --git a/django/utils/_os.py b/django/utils/_os.py index f7114af291..56ef0f2014 100644 --- a/django/utils/_os.py +++ b/django/utils/_os.py @@ -2,8 +2,8 @@ from os.path import join, normcase, abspath, sep def safe_join(base, *paths): """ - Join one or more path components to the base path component intelligently. - Return a normalized, absolute version of the final path. + Joins one or more path components to the base path component intelligently. + Returns a normalized, absolute version of the final path. The final path must be located inside of the base path component (otherwise a ValueError is raised).