From: Georg Brandl Date: Mon, 24 Nov 2008 19:56:47 +0000 (+0000) Subject: #4404: make clear what "path" is. X-Git-Tag: v2.7a1~2624 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=623429132eb2b7ffb797ca2a3408424d50659d70;p=thirdparty%2FPython%2Fcpython.git #4404: make clear what "path" is. --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 14784fad663e..1cb450b6abe8 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -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