Commits

Anonymous committed b6284d2 Merge

merge #16877: Add mention that shell-style path expansions are not automatic.

Comments (0)

Files changed (1)

Doc/library/os.path.rst

 names on Windows (in the standard ``mbcs`` encoding), hence Windows
 applications should use string objects to access all files.
 
+Unlike a unix shell, Python does not do any *automatic* path expansions.
+Functions such as :func:`expanduser` and :func:`expandvars` can be invoked
+explicitly when an application desires shell-like path expansion.  (See also
+the :mod:`glob` module.)
+
 .. note::
 
    All of these functions accept either only bytes or only string objects as