]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#4404: make clear what "path" is.
authorGeorg Brandl <georg@python.org>
Mon, 24 Nov 2008 19:56:47 +0000 (19:56 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 24 Nov 2008 19:56:47 +0000 (19:56 +0000)
Doc/library/os.rst

index 14784fad663eb9073e9255b308644a5a8bfa39a4..1cb450b6abe88e4512b5688358cb0979a218de50 100644 (file)
@@ -933,10 +933,10 @@ Files and Directories
 
 .. function:: listdir(path)
 
-   Return a list containing the names of the entries in the directory. The list is
-   in arbitrary order.  It does not include the special entries ``'.'`` and
-   ``'..'`` even if they are present in the directory. Availability:
-   Unix, Windows.
+   Return a list containing the names of the entries in the directory given by
+   *path*.  The list is in arbitrary order.  It does not include the special
+   entries ``'.'`` and ``'..'`` even if they are present in the
+   directory.  Availability: Unix, Windows.
 
    .. versionchanged:: 2.3
       On Windows NT/2k/XP and Unix, if *path* is a Unicode object, the result will be