Commit 62342913 authored by Georg Brandl's avatar Georg Brandl

#4404: make clear what "path" is.

parent df9bcf11
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment