mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Actually, the previous batch's comment should have been different;
*this* set of patches is Ka-Ping's final sweep: The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
This commit is contained in:
parent
e7b146fb3b
commit
4b8c6eaf8b
20 changed files with 99 additions and 48 deletions
|
@ -1,6 +1,8 @@
|
|||
"""Return a sorted list of the files in a directory, using a cache
|
||||
to avoid reading the directory more often than necessary.
|
||||
Also contains a subroutine to append slashes to directories."""
|
||||
"""Read and cache directory listings.
|
||||
|
||||
The listdir() routine returns a sorted list of the files in a directory,
|
||||
using a cache to avoid reading the directory more often than necessary.
|
||||
The annotate() routine appends slashes to directories."""
|
||||
|
||||
import os
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue