mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
The third and final doc-string sweep by Ka-Ping Yee.
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
54f22ed30b
commit
e7b146fb3b
29 changed files with 891 additions and 778 deletions
12
Lib/stat.py
12
Lib/stat.py
|
@ -1,10 +1,8 @@
|
|||
# Module 'stat'
|
||||
#
|
||||
# Defines constants and functions for interpreting stat/lstat struct
|
||||
# as returned by os.stat() and os.lstat() (if it exists).
|
||||
#
|
||||
# Suggested usage: from stat import *
|
||||
#
|
||||
"""Constants/functions for interpreting results of os.stat() and os.lstat().
|
||||
|
||||
Suggested usage: from stat import *
|
||||
"""
|
||||
|
||||
# XXX Strictly spoken, this module may have to be adapted for each POSIX
|
||||
# implementation; in practice, however, the numeric constants used by
|
||||
# stat() are almost universal (even for stat() emulations on non-UNIX
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue