[Python-checkins] r83127 - python/branches/py3k/Doc/library/os.rst
martin.v.loewis
python-checkins at python.org
Sat Jul 24 12:09:12 CEST 2010
Author: martin.v.loewis
Date: Sat Jul 24 12:09:11 2010
New Revision: 83127
Log:
Put listdir default argument into declaration.
Modified:
python/branches/py3k/Doc/library/os.rst
Modified: python/branches/py3k/Doc/library/os.rst
==============================================================================
--- python/branches/py3k/Doc/library/os.rst (original)
+++ python/branches/py3k/Doc/library/os.rst Sat Jul 24 12:09:11 2010
@@ -1049,10 +1049,10 @@
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
More information about the Python-checkins
mailing list