We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
commonpath()
1 parent 5704727 commit fa43ff8Copy full SHA for fa43ff8
Doc/library/os.path.rst
@@ -103,12 +103,11 @@ the :mod:`glob` module.)
103
104
.. danger::
105
106
+ This function may return invalid paths because it works a
107
+ character at a time.
108
If you need a **common path prefix**, then the algorithm
109
implemented in this function is not secure. Use
110
:func:`commonpath` for finding a common path prefix.
- This function may return invalid paths because it works a
- character at a time. To obtain a valid path, see
111
- :func:`commonpath`.
112
113
::
114
0 commit comments