diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-07-24 10:09:11 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-07-24 10:09:11 (GMT) |
commit | 9c71f90329b842c8b9c6b3b2726f5791b00a5c3b (patch) | |
tree | d35d6ac06247e651dd14548620701728b308b7e0 | |
parent | 803ef8a694363c3d832d1eac48fe9237515ce515 (diff) | |
download | cpython-9c71f90329b842c8b9c6b3b2726f5791b00a5c3b.zip cpython-9c71f90329b842c8b9c6b3b2726f5791b00a5c3b.tar.gz cpython-9c71f90329b842c8b9c6b3b2726f5791b00a5c3b.tar.bz2 |
Put listdir default argument into declaration.
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index a4dec4c..3e13edd 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1049,10 +1049,10 @@ Files and Directories Availability: Unix. -.. function:: listdir([path]) +.. function:: listdir(path='.') Return a list containing the names of the entries in the directory given by - *path* (default: '.'). The list is in arbitrary order. It does not include the special + *path* (default: ``'.'``). The list is in arbitrary order. It does not include the special entries ``'.'`` and ``'..'`` even if they are present in the directory. This function can be called with a bytes or string argument, and returns |