]> granicus.if.org Git - python/commitdiff
#5655: fix docstring oversight.
authorGeorg Brandl <georg@python.org>
Wed, 1 Apr 2009 17:46:01 +0000 (17:46 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 1 Apr 2009 17:46:01 +0000 (17:46 +0000)
Lib/glob.py

index 75d7bf94e5b2765a469a180fd11b2ff9a067fbd4..04364be7dfb7898def3c7464bef57e59d2d023dd 100644 (file)
@@ -16,7 +16,7 @@ def glob(pathname):
     return list(iglob(pathname))
 
 def iglob(pathname):
-    """Return a list of paths matching a pathname pattern.
+    """Return an iterator which yields the paths matching a pathname pattern.
 
     The pattern may contain simple shell-style wildcards a la fnmatch.