File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -95,15 +95,17 @@ the :mod:`glob` module.)
9595
9696.. function :: commonprefix(list)
9797
98- Return the longest path prefix (taken character-by-character) that is a
99- prefix of all paths in *list *. If *list * is empty, return the empty string
98+ Return the longest string prefix (taken character-by-character) that is a
99+ prefix of all strings in *list *. If *list * is empty, return the empty string
100100 (``'' ``).
101101
102- .. note ::
102+ .. warning ::
103103
104104 This function may return invalid paths because it works a
105- character at a time. To obtain a valid path, see
106- :func: `commonpath `.
105+ character at a time.
106+ If you need a **common path prefix **, then the algorithm
107+ implemented in this function is not secure. Use
108+ :func: `commonpath ` for finding a common path prefix.
107109
108110 ::
109111
Original file line number Diff line number Diff line change 1111
1212--------------
1313
14+ .. warning ::
15+
16+ :mod: `wsgiref ` is a reference implementation and is not recommended for
17+ production. The module only implements basic security checks.
18+
1419The Web Server Gateway Interface (WSGI) is a standard interface between web
1520server software and web applications written in Python. Having a standard
1621interface makes it easy to use an application that supports WSGI with a number
You can’t perform that action at this time.
0 commit comments