[Python-checkins] Explain that the orderness of the result of glob is system-dependant (GH-6587)

Julien Palard webhook-mailer at python.org
Sun Nov 4 09:50:59 EST 2018


https://github.com/python/cpython/commit/52465e1b8bb7af23d642dbb43c8173d079b7ec30
commit: 52465e1b8bb7af23d642dbb43c8173d079b7ec30
branch: master
author: Elena Oat <oat.elena at gmail.com>
committer: Julien Palard <julien at palard.fr>
date: 2018-11-04T15:50:55+01:00
summary:

Explain that the orderness of the result of glob is system-dependant (GH-6587)

Thanks!

files:
M Doc/library/glob.rst

diff --git a/Doc/library/glob.rst b/Doc/library/glob.rst
index 0db10b5efc10..2a5f0ddc4ef3 100644
--- a/Doc/library/glob.rst
+++ b/Doc/library/glob.rst
@@ -42,7 +42,8 @@ For example, ``'[?]'`` matches the character ``'?'``.
    a string containing a path specification. *pathname* can be either absolute
    (like :file:`/usr/src/Python-1.5/Makefile`) or relative (like
    :file:`../../Tools/\*/\*.gif`), and can contain shell-style wildcards. Broken
-   symlinks are included in the results (as in the shell).
+   symlinks are included in the results (as in the shell). Whether or not the
+   results are sorted depends on the file system.
 
    .. index::
       single: **; in glob-style wildcards



More information about the Python-checkins mailing list