]> granicus.if.org Git - python/commitdiff
Doc fixups.
authorRaymond Hettinger <python@rcn.com>
Fri, 18 Feb 2011 00:53:55 +0000 (00:53 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 18 Feb 2011 00:53:55 +0000 (00:53 +0000)
Doc/library/os.rst
Doc/whatsnew/3.2.rst

index e6d83c15b13a7f691c68f0b79b833e395cb60bdd..35562ca7167b5f65d12c44d47e72698e42244f6b 100644 (file)
@@ -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.
 
index b57a72563df0f7d9fe5b068a2aebd0e98b6a7c2b..860e10bdfaf730e99173211184349c4a32391806 100644 (file)
@@ -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
 ------