Skip to content

Commit 51515ce

Browse files
Apply suggestions from code review
Co-authored-by: Adam Turner <[email protected]>
1 parent 7cc555f commit 51515ce

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Doc/library/glob.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ The :mod:`glob` module defines the following functions:
8484
.. versionchanged:: 3.11
8585
Added the *include_hidden* parameter.
8686

87-
.. versionchanged:: 3.15
88-
Matching path names are returned only once. In previous versions, this
89-
function may return duplicate path names if *pathname* contains multiple
90-
"``**``" patterns and *recursive* is true.
87+
.. versionchanged:: next
88+
Matching path names are only returned once. In previous versions, this
89+
function could have returned duplicate path names if *pathname*
90+
contained multiple "``**``" patterns and *recursive* was true.
9191

9292

9393
.. function:: iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False, \
@@ -109,9 +109,9 @@ The :mod:`glob` module defines the following functions:
109109
Added the *include_hidden* parameter.
110110

111111
.. versionchanged:: 3.15
112-
Matching path names are yielded only once. In previous versions, this
113-
function may yield duplicate path names if *pathname* contains multiple
114-
"``**``" patterns and *recursive* is true.
112+
Matching path names are only yielded once. In previous versions, this
113+
function could have returned duplicate path names if *pathname*
114+
contained multiple "``**``" patterns and *recursive* was true.
115115

116116

117117
.. function:: escape(pathname)

0 commit comments

Comments
 (0)