diff options
author | Raymond Hettinger <python@rcn.com> | 2011-02-18 00:53:55 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-02-18 00:53:55 (GMT) |
commit | 8f0ae9a17f86f60d84ef3606d033b8ac6831062d (patch) | |
tree | 76cdec50ef0fd977c44583d8bd6ffbe6623abb49 | |
parent | 03a6e6630bd9ac8c46e7362b7d868b4db26dd74b (diff) | |
download | cpython-8f0ae9a17f86f60d84ef3606d033b8ac6831062d.zip cpython-8f0ae9a17f86f60d84ef3606d033b8ac6831062d.tar.gz cpython-8f0ae9a17f86f60d84ef3606d033b8ac6831062d.tar.bz2 |
Doc fixups.
-rw-r--r-- | Doc/library/os.rst | 6 | ||||
-rw-r--r-- | Doc/whatsnew/3.2.rst | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index e6d83c1..35562ca 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1342,9 +1342,11 @@ Files and Directories >>> import os >>> statinfo = os.stat('somefile.txt') >>> statinfo - (33188, 422511, 769, 1, 1032, 100, 926, 1105022698,1105022732, 1105022732) + posix.stat_result(st_mode=33188, st_ino=7876932, st_dev=234881026, + st_nlink=1, st_uid=501, st_gid=501, st_size=264, st_atime=1297230295, + st_mtime=1297230027, st_ctime=1297230027) >>> statinfo.st_size - 926 + 264 Availability: Unix, Windows. diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index b57a725..860e10b 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1354,7 +1354,8 @@ popen The :func:`os.popen` and :func:`subprocess.Popen` functions now support :keyword:`with` statements for auto-closing of the file descriptors. -(Contributed by Antoine Pitrou in :issue:`7461`.) +(Contributed by Antoine Pitrou and Brian Curtin in :issue:`7461` and +:issue:`10554`.) select ------ |