[Python-checkins] cpython (3.3): Closes #12350: clarify blocks/block size members of stat result.

georg.brandl python-checkins at python.org
Sun Oct 6 18:11:33 CEST 2013


http://hg.python.org/cpython/rev/ef5aa8d7e932
changeset:   86091:ef5aa8d7e932
branch:      3.3
parent:      86089:b3844e98e92e
user:        Georg Brandl <georg at python.org>
date:        Sun Oct 06 18:11:32 2013 +0200
summary:
  Closes #12350: clarify blocks/block size members of stat result.

files:
  Doc/library/os.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/library/os.rst b/Doc/library/os.rst
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1813,8 +1813,8 @@
    On some Unix systems (such as Linux), the following attributes may also be
    available:
 
-   * :attr:`st_blocks` - number of blocks allocated for file
-   * :attr:`st_blksize` - filesystem blocksize
+   * :attr:`st_blocks` - number of 512-byte blocks allocated for file
+   * :attr:`st_blksize` - filesystem blocksize for efficient file system I/O
    * :attr:`st_rdev` - type of device if an inode device
    * :attr:`st_flags` - user defined flags for file
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list